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.001117/0.001117, allocations: 106.8 kB / 16.62 MB, free: 6.812 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.001092/0.001092, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.416/1.416, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001171/0.001171, allocations: 47.92 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 46.64 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.2718/0.3754, allocations: 72.84 MB / 399 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02744/0.4028, allocations: 25.29 MB / 424.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/0.4055, allocations: 54.38 kB / 424.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002486/0.4081, allocations: 0.6971 MB / 425 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01754/0.4256, allocations: 5.742 MB / 430.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.4375, allocations: 4.083 MB / 434.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004648/0.4422, allocations: 3.608 MB / 438.5 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.4445, allocations: 1.022 MB / 439.5 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/0.4485, allocations: 1.522 MB / 441 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01644/0.465, allocations: 9.414 MB / 450.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005102/0.4655, allocations: 156 kB / 450.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01921/0.4848, allocations: 10.13 MB / 460.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006926/0.4855, allocations: 0.5025 MB / 461.2 MB, free: 340 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.4867, allocations: 0.8595 MB / 462.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.501, allocations: 7.024 MB / 469.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.501, allocations: 0 / 469.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.501, allocations: 0 / 469.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.5011, allocations: 0 / 469.1 MB, free: 8.43 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.008228/0.5093, allocations: 2.876 MB / 472 MB, free: 5.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.5094, allocations: 15.89 kB / 472 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/0.5136, allocations: 0.565 MB / 472.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.5152, allocations: 1.003 MB / 473.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.5153, allocations: 90.14 kB / 473.6 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.5155, allocations: 108 kB / 473.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00503/0.5206, allocations: 2.221 MB / 475.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.5206, allocations: 7.938 kB / 476 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.5208, allocations: 51.97 kB / 476 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.5209, allocations: 89.88 kB / 476.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005492/0.5264, allocations: 2.318 MB / 478.4 MB, free: 14.86 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.01206/0.5385, allocations: 9.163 MB / 487.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004835/0.5433, allocations: 1.849 MB / 489.4 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.5447, allocations: 0.765 MB / 490.2 MB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04542/0.5901, allocations: 24.55 MB / 0.5027 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.797e-05/0.5903, allocations: 43.56 kB / 0.5027 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001163/0.5914, allocations: 162.6 kB / 0.5029 GB, free: 6.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=109): time 3.276e-06/0.5915, allocations: 0 / 0.5029 GB, free: 6.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.01953/0.611, allocations: 4.594 MB / 0.5074 GB, free: 2.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.6112, allocations: 218.6 kB / 0.5076 GB, free: 1.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.6125, allocations: 0.9669 MB / 0.5085 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.6126, allocations: 49.7 kB / 0.5086 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.613, allocations: 0.5657 MB / 0.5091 GB, free: 264 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/0.6134, allocations: 370.6 kB / 0.5095 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.6138, allocations: 274.7 kB / 0.5097 GB, free: 15.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.614, allocations: 357.9 kB / 0.5101 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.6155, allocations: 0.6579 MB / 0.5107 GB, free: 14.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.6172, allocations: 1.021 MB / 0.5117 GB, free: 13.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003031/0.6203, allocations: 1.687 MB / 0.5134 GB, free: 11.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.6203, allocations: 4 kB / 0.5134 GB, free: 11.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004173/0.6245, allocations: 2.09 MB / 0.5154 GB, free: 9.504 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.6245, allocations: 11.94 kB / 0.5154 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.6246, allocations: 16.06 kB / 0.5154 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03011/0.6547, allocations: 3.009 MB / 0.5184 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.656, allocations: 263.6 kB / 0.5186 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.6589, allocations: 1.462 MB / 0.52 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.6606, allocations: 123.8 kB / 0.5202 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.6608, allocations: 75.97 kB / 0.5202 GB, free: 4.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001821/0.6626, allocations: 0.8772 MB / 0.5211 GB, free: 3.637 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001572/0.6642, allocations: 0.9866 MB / 0.5221 GB, free: 2.496 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002861/0.6671, allocations: 1.633 MB / 0.5237 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.605e-06/0.6671, allocations: 4 kB / 0.5237 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.004978/0.6721, allocations: 1.965 MB / 0.5256 GB, free: 14.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.6721, allocations: 8 kB / 0.5256 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.6722, allocations: 8 kB / 0.5256 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008979/0.6731, allocations: 200.8 kB / 0.5258 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.6745, allocations: 335.5 kB / 0.5261 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/0.6754, allocations: 0.7576 MB / 0.5268 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.6769, allocations: 123.8 kB / 0.527 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.677, allocations: 75.89 kB / 0.527 GB, free: 13.22 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.0004492/0.6775, allocations: 275.8 kB / 0.5273 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.6777, allocations: 134.4 kB / 0.5274 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007455/0.6852, allocations: 5.596 MB / 0.5329 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.012e-05/0.6853, allocations: 55.91 kB / 0.5329 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/0.6853, allocations: 5.562 kB / 0.5329 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.6853, allocations: 7.969 kB / 0.533 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1856/0.871, allocations: 7.665 MB / 0.5404 GB, free: 170.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.871, allocations: 5.25 kB / 0.5404 GB, free: 170.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000934/0.8719, allocations: 194 kB / 0.5406 GB, free: 170.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02444/0.8964, allocations: 2.936 MB / 0.5435 GB, free: 170.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003048/0.8967, allocations: 30.3 kB / 0.5435 GB, free: 170.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/0.8999, allocations: 2.39 MB / 0.5459 GB, free: 169.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.8999, allocations: 4.672 kB / 0.5459 GB, free: 169.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005838/0.9058, allocations: 3.624 MB / 0.5494 GB, free: 168.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007129/0.9065, allocations: 439 kB / 0.5498 GB, free: 168.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/0.9068, allocations: 97.59 kB / 0.5499 GB, free: 168.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.9078, allocations: 99.61 kB / 0.55 GB, free: 168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.9081, allocations: 109.8 kB / 0.5501 GB, free: 168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/0.9082, allocations: 42.38 kB / 0.5502 GB, free: 168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001254/0.9094, allocations: 1.077 MB / 0.5512 GB, free: 167.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9094, allocations: 0 / 0.5512 GB, free: 167.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00465/0.9141, allocations: 1.842 MB / 0.553 GB, free: 167.4 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.004801/0.9189, allocations: 1.552 MB / 0.5545 GB, free: 167.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007955/0.9269, allocations: 3.315 MB / 0.5578 GB, free: 166.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.9269, allocations: 4 kB / 0.5578 GB, free: 166.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002365/0.9293, allocations: 1.489 MB / 0.5592 GB, free: 165.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/0.9328, allocations: 0.7359 MB / 0.5599 GB, free: 165.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/0.9384, allocations: 5.332 MB / 0.5651 GB, free: 162.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.9392, allocations: 1.574 MB / 0.5667 GB, free: 161 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002104/0.9413, allocations: 1.473 MB / 0.5681 GB, free: 159.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.9416, allocations: 111.4 kB / 0.5682 GB, free: 159.4 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.9416, allocations: 0 / 0.5682 GB, free: 159.4 MB / 446.1 MB Notification: Performance of Templates: time 0.07352/1.015, allocations: 70.79 MB / 0.6374 GB, free: 88.59 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)