Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 109.9 kB / 16.51 MB, free: 6.707 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.001078/0.001078, allocations: 186.5 kB / 17.42 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 43.94 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07909/0.08019, allocations: 46.62 MB / 325.9 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.2103/0.2905, allocations: 73.72 MB / 399.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02731/0.3179, allocations: 26.49 MB / 426.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.3208, allocations: 52.66 kB / 426.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.3232, allocations: 0.6928 MB / 426.9 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02098/0.3442, allocations: 5.338 MB / 432.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01255/0.3568, allocations: 3.851 MB / 436.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007388/0.3642, allocations: 4.937 MB / 441 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.3658, allocations: 0.8918 MB / 441.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.3686, allocations: 1.327 MB / 443.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01935/0.388, allocations: 9.348 MB / 452.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005721/0.3886, allocations: 80 kB / 452.7 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02215/0.4107, allocations: 10.07 MB / 462.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009159/0.4117, allocations: 446.3 kB / 463.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.4131, allocations: 0.797 MB / 464 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01998/0.4331, allocations: 6.961 MB / 470.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4332, allocations: 0 / 470.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4332, allocations: 0 / 470.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.4332, allocations: 0 / 470.9 MB, free: 6.641 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.009698/0.4429, allocations: 2.868 MB / 473.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.443, allocations: 12.03 kB / 473.8 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.4475, allocations: 0.5689 MB / 474.4 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.4495, allocations: 0.9957 MB / 475.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.4496, allocations: 90.14 kB / 475.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.4499, allocations: 104 kB / 475.6 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005701/0.4556, allocations: 2.217 MB / 477.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.4557, allocations: 7.938 kB / 477.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.4559, allocations: 47.98 kB / 477.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.456, allocations: 86 kB / 477.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0059/0.4619, allocations: 2.318 MB / 480.2 MB, free: 13.09 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.476, allocations: 9.175 MB / 489.4 MB, free: 3.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005282/0.4814, allocations: 1.845 MB / 491.3 MB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.4829, allocations: 0.7728 MB / 492 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04775/0.5307, allocations: 24.56 MB / 0.5045 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.15e-05/0.5308, allocations: 47.56 kB / 0.5045 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001199/0.532, allocations: 170.7 kB / 0.5047 GB, free: 4.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=109): time 4.949e-06/0.532, allocations: 0 / 0.5047 GB, free: 4.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.02077/0.5528, allocations: 4.59 MB / 0.5092 GB, free: 352 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.5529, allocations: 226.6 kB / 0.5094 GB, free: 76 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.5544, allocations: 0.9671 MB / 0.5103 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.5546, allocations: 45.64 kB / 0.5104 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.5551, allocations: 0.5656 MB / 0.5109 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.5555, allocations: 370.6 kB / 0.5113 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005305/0.5561, allocations: 274.7 kB / 0.5115 GB, free: 13.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5562, allocations: 353.9 kB / 0.5119 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.5577, allocations: 0.6617 MB / 0.5125 GB, free: 12.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.5595, allocations: 1.021 MB / 0.5135 GB, free: 11.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.5628, allocations: 1.687 MB / 0.5152 GB, free: 9.816 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.5628, allocations: 0 / 0.5152 GB, free: 9.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004727/0.5675, allocations: 2.097 MB / 0.5172 GB, free: 7.711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.5676, allocations: 11.94 kB / 0.5172 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.5676, allocations: 8 kB / 0.5172 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03005/0.5977, allocations: 3.002 MB / 0.5202 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.599, allocations: 263.6 kB / 0.5204 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.6021, allocations: 1.469 MB / 0.5219 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.6037, allocations: 127.8 kB / 0.522 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/0.604, allocations: 67.97 kB / 0.522 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002006/0.606, allocations: 0.8733 MB / 0.5229 GB, free: 1.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001695/0.6077, allocations: 0.9983 MB / 0.5239 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003064/0.6108, allocations: 1.629 MB / 0.5255 GB, free: 14.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.227e-06/0.6108, allocations: 4 kB / 0.5255 GB, free: 14.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.005257/0.6161, allocations: 1.953 MB / 0.5274 GB, free: 12.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6161, allocations: 12.03 kB / 0.5274 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.6161, allocations: 19.97 kB / 0.5274 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009197/0.617, allocations: 200.6 kB / 0.5276 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.6186, allocations: 329 kB / 0.5279 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.6196, allocations: 0.7629 MB / 0.5287 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.621, allocations: 119.8 kB / 0.5288 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.6212, allocations: 71.91 kB / 0.5288 GB, free: 11.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,sink2.medium.phase,sink1.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004498/0.6216, allocations: 279.8 kB / 0.5291 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.622, allocations: 126.5 kB / 0.5292 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008182/0.6302, allocations: 5.597 MB / 0.5347 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-05/0.6303, allocations: 59.91 kB / 0.5347 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.6303, allocations: 3.938 kB / 0.5348 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.6303, allocations: 11.95 kB / 0.5348 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1495/0.7798, allocations: 7.66 MB / 0.5422 GB, free: 171 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.7798, allocations: 3.531 kB / 0.5422 GB, free: 171 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/0.7806, allocations: 188.4 kB / 0.5424 GB, free: 171 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02589/0.8065, allocations: 3.904 MB / 0.5462 GB, free: 170.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/0.8068, allocations: 29.42 kB / 0.5463 GB, free: 170.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.81, allocations: 2.385 MB / 0.5486 GB, free: 169.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.81, allocations: 1.625 kB / 0.5486 GB, free: 169.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005559/0.8156, allocations: 3.64 MB / 0.5522 GB, free: 168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/0.8162, allocations: 441.3 kB / 0.5526 GB, free: 167.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.8165, allocations: 91.17 kB / 0.5527 GB, free: 167.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/0.8175, allocations: 106.5 kB / 0.5528 GB, free: 167.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.8177, allocations: 103.4 kB / 0.5529 GB, free: 167.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/0.8178, allocations: 43.36 kB / 0.5529 GB, free: 167.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001082/0.8189, allocations: 1.074 MB / 0.554 GB, free: 167.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8189, allocations: 0 / 0.554 GB, free: 167.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003971/0.8228, allocations: 1.843 MB / 0.5558 GB, free: 167.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004448/0.8273, allocations: 1.56 MB / 0.5573 GB, free: 166.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005941/0.8332, allocations: 2.987 MB / 0.5602 GB, free: 165.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8333, allocations: 0 / 0.5602 GB, free: 165.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.8355, allocations: 1.478 MB / 0.5616 GB, free: 165.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/0.8387, allocations: 0.7017 MB / 0.5623 GB, free: 165.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.8442, allocations: 5.314 MB / 0.5675 GB, free: 160.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.8448, allocations: 1.583 MB / 0.5691 GB, free: 158.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002096/0.847, allocations: 1.49 MB / 0.5705 GB, free: 157.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.8472, allocations: 107.4 kB / 0.5706 GB, free: 157.2 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.8472, allocations: 0 / 0.5706 GB, free: 157.2 MB / 446.1 MB Notification: Performance of Templates: time 0.07288/0.9201, allocations: 69.12 MB / 0.6381 GB, free: 88 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1)