Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 195.3 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7694/0.7694, allocations: 132.2 MB / 422.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 60.47 kB / 0.5011 GB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4037, allocations: 80.2 MB / 0.5794 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002259/0.406, allocations: 1.351 MB / 0.5807 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.4069, allocations: 0.6175 MB / 0.5813 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.407, allocations: 0 / 0.5813 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.407, allocations: 5.625 kB / 0.5813 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.305e-05/0.4071, allocations: 1.562 kB / 0.5813 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.4075, allocations: 121.8 kB / 0.5815 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.741e-05/0.4075, allocations: 23.59 kB / 0.5815 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.4076, allocations: 1.734 kB / 0.5815 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.052e-05/0.4076, allocations: 9.312 kB / 0.5815 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.4077, allocations: 10.72 kB / 0.5815 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.4077, allocations: 1.188 kB / 0.5815 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.4082, allocations: 344.2 kB / 0.5818 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.4083, allocations: 6.734 kB / 0.5818 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.4083, allocations: 7.5 kB / 0.5819 GB, free: 3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.4085, allocations: 141.5 kB / 0.582 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.4086, allocations: 0 / 0.582 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4086, allocations: 0 / 0.582 GB, free: 2.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.4086, allocations: 0 / 0.582 GB, free: 2.961 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003445/0.4089, allocations: 362 kB / 0.5823 GB, free: 2.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.409, allocations: 13.72 kB / 0.5823 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.409, allocations: 5.609 kB / 0.5824 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.264e-05/0.4091, allocations: 167.6 kB / 0.5825 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.4091, allocations: 1.438 kB / 0.5825 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-06/0.4091, allocations: 1.906 kB / 0.5825 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.4092, allocations: 48 kB / 0.5826 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4092, allocations: 0.7031 kB / 0.5826 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.4093, allocations: 0.75 kB / 0.5826 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4093, allocations: 5.406 kB / 0.5826 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.431e-05/0.4093, allocations: 15.11 kB / 0.5826 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.4096, allocations: 265.6 kB / 0.5828 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.4098, allocations: 49.97 kB / 0.5829 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.4098, allocations: 18.23 kB / 0.5829 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.4099, allocations: 4.844 kB / 0.5829 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.4099, allocations: 32.45 kB / 0.5829 GB, free: 1.945 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.4099, allocations: 0 / 0.5829 GB, free: 1.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000166/0.4101, allocations: 64.42 kB / 0.583 GB, free: 1.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.4101, allocations: 52.34 kB / 0.583 GB, free: 1.836 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.781e-05/0.4101, allocations: 95.02 kB / 0.5831 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.713e-06/0.4102, allocations: 26.45 kB / 0.5832 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.4102, allocations: 85.59 kB / 0.5832 GB, free: 1.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.4102, allocations: 15.34 kB / 0.5833 GB, free: 1.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.4102, allocations: 18.17 kB / 0.5833 GB, free: 1.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.4103, allocations: 317.7 kB / 0.5836 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.4103, allocations: 8.703 kB / 0.5836 GB, free: 1.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.4103, allocations: 17.97 kB / 0.5836 GB, free: 1.254 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.4104, allocations: 33.72 kB / 0.5836 GB, free: 1.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4104, allocations: 5.75 kB / 0.5836 GB, free: 1.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.285e-05/0.4105, allocations: 54.59 kB / 0.5837 GB, free: 1.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4105, allocations: 5.969 kB / 0.5837 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4105, allocations: 0.7812 kB / 0.5837 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4105, allocations: 1.141 kB / 0.5837 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.4106, allocations: 12.47 kB / 0.5837 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4106, allocations: 0.9062 kB / 0.5837 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.4106, allocations: 5.828 kB / 0.5837 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.4107, allocations: 1.938 kB / 0.5837 GB, free: 1.176 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.914e-05/0.4107, allocations: 118.4 kB / 0.5838 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.4108, allocations: 9.5 kB / 0.5838 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.4109, allocations: 62.92 kB / 0.5839 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4109, allocations: 0 / 0.5839 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.4109, allocations: 0.7969 kB / 0.5839 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.411, allocations: 0 / 0.5839 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.4111, allocations: 167 kB / 0.5841 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4111, allocations: 0.7031 kB / 0.5841 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.4111, allocations: 6.078 kB / 0.5841 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4112, allocations: 5.188 kB / 0.5841 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.4112, allocations: 5.984 kB / 0.5841 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4112, allocations: 0 / 0.5841 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4112, allocations: 0 / 0.5841 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.4113, allocations: 147.9 kB / 0.5842 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.4113, allocations: 82.69 kB / 0.5843 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.4114, allocations: 1.719 kB / 0.5843 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.4114, allocations: 0 / 0.5843 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.4114, allocations: 10.77 kB / 0.5843 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4114, allocations: 2.547 kB / 0.5843 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.438e-05/0.4115, allocations: 81.8 kB / 0.5844 GB, free: 472 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.4115, allocations: 1 kB / 0.5844 GB, free: 472 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.4118, allocations: 22.77 kB / 0.5844 GB, free: 464 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001852/0.412, allocations: 124.7 kB / 0.5845 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.4121, allocations: 22.28 kB / 0.5846 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4121, allocations: 4.062 kB / 0.5846 GB, free: 356 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.4121, allocations: 16.88 kB / 0.5846 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.4124, allocations: 6.891 kB / 0.5846 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.4126, allocations: 123.3 kB / 0.5847 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.4129, allocations: 0.6754 MB / 0.5854 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.4129, allocations: 11.11 kB / 0.5854 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.4129, allocations: 11.44 kB / 0.5854 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4129, allocations: 0 / 0.5854 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Templates: time 0.002597/0.4155, allocations: 0.4907 MB / 0.5859 GB, free: 15.43 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)