Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001574/0.001574, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001965/0.001965, allocations: 191.1 kB / 16.13 MB, free: 6.715 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.526/1.526, allocations: 205.1 MB / 222 MB, free: 4.789 MB / 174.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.001353/0.001353, allocations: 51.94 kB / 278 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2463, allocations: 46.63 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.06406/0.3103, allocations: 73.73 MB / 398.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0332/0.3436, allocations: 26.48 MB / 424.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.3458, allocations: 51.56 kB / 424.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002545/0.3484, allocations: 0.6955 MB / 425.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02/0.3684, allocations: 5.34 MB / 431 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.3795, allocations: 3.847 MB / 434.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005379/0.3849, allocations: 4.928 MB / 439.7 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.3863, allocations: 0.8949 MB / 440.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.389, allocations: 1.331 MB / 442 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01985/0.4088, allocations: 9.347 MB / 451.3 MB, free: 5.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005499/0.4094, allocations: 84 kB / 451.4 MB, free: 4.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2596/0.6691, allocations: 10.07 MB / 461.5 MB, free: 22.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007555/0.6699, allocations: 445 kB / 461.9 MB, free: 22.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001414/0.6713, allocations: 0.7928 MB / 462.7 MB, free: 22.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01553/0.6868, allocations: 6.95 MB / 469.6 MB, free: 22.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6869, allocations: 3.062 kB / 469.6 MB, free: 22.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.6869, allocations: 0.9062 kB / 469.6 MB, free: 22.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.455e-05/0.6869, allocations: 3.812 kB / 469.6 MB, free: 22.81 MB / 382.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.008963/0.6959, allocations: 2.867 MB / 472.5 MB, free: 21.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6959, allocations: 10.69 kB / 472.5 MB, free: 21.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00443/0.7004, allocations: 0.5652 MB / 473.1 MB, free: 21.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.7021, allocations: 0.9996 MB / 474.1 MB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.469e-05/0.7022, allocations: 96.59 kB / 474.2 MB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.7024, allocations: 101.1 kB / 474.3 MB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004872/0.7073, allocations: 2.218 MB / 476.5 MB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.7073, allocations: 5.062 kB / 476.5 MB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.7075, allocations: 50.19 kB / 476.6 MB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.145e-05/0.7076, allocations: 88.64 kB / 476.6 MB, free: 20.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005139/0.7127, allocations: 2.321 MB / 479 MB, free: 20.87 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.01031/0.723, allocations: 9.159 MB / 488.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004513/0.7276, allocations: 1.844 MB / 490 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.7289, allocations: 0.7722 MB / 490.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04181/0.7707, allocations: 24.55 MB / 0.5032 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.7708, allocations: 48.81 kB / 0.5033 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001111/0.7719, allocations: 169 kB / 0.5034 GB, free: 11.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=109): time 6.032e-06/0.7719, allocations: 0 / 0.5034 GB, free: 11.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.01911/0.791, allocations: 4.59 MB / 0.5079 GB, free: 7.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.7911, allocations: 220.8 kB / 0.5081 GB, free: 7.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.7926, allocations: 0.974 MB / 0.5091 GB, free: 6.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.7928, allocations: 46.89 kB / 0.5091 GB, free: 6.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.7932, allocations: 0.5575 MB / 0.5096 GB, free: 6.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/0.7937, allocations: 380.6 kB / 0.51 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005765/0.7943, allocations: 268.4 kB / 0.5103 GB, free: 5.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.7944, allocations: 356.6 kB / 0.5106 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.7959, allocations: 0.6656 MB / 0.5113 GB, free: 5.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.7977, allocations: 1.021 MB / 0.5123 GB, free: 4.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.8008, allocations: 1.684 MB / 0.5139 GB, free: 2.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-06/0.8008, allocations: 5.531 kB / 0.5139 GB, free: 2.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004359/0.8052, allocations: 2.09 MB / 0.5159 GB, free: 1.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.8053, allocations: 12 kB / 0.516 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.8053, allocations: 8.844 kB / 0.516 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03037/0.8357, allocations: 3.007 MB / 0.5189 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.837, allocations: 263.4 kB / 0.5192 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/0.84, allocations: 1.468 MB / 0.5206 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.8417, allocations: 122.7 kB / 0.5207 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/0.8419, allocations: 70.34 kB / 0.5208 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001987/0.8439, allocations: 0.8817 MB / 0.5216 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001713/0.8457, allocations: 0.9942 MB / 0.5226 GB, free: 11.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002987/0.8487, allocations: 1.629 MB / 0.5242 GB, free: 10.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.681e-06/0.8487, allocations: 0 / 0.5242 GB, free: 10.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.005204/0.8539, allocations: 1.968 MB / 0.5261 GB, free: 8.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.8539, allocations: 8 kB / 0.5261 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.854, allocations: 12 kB / 0.5261 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000904/0.8549, allocations: 201.4 kB / 0.5263 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.8564, allocations: 338.8 kB / 0.5266 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009312/0.8574, allocations: 0.7531 MB / 0.5274 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.8589, allocations: 125.4 kB / 0.5275 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.8591, allocations: 70.97 kB / 0.5276 GB, free: 7.621 MB / 414.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.0004734/0.8596, allocations: 273.2 kB / 0.5278 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004948/0.8601, allocations: 141 kB / 0.528 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007936/0.868, allocations: 5.596 MB / 0.5334 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.352e-05/0.8681, allocations: 59.91 kB / 0.5335 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.8681, allocations: 0 / 0.5335 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.8681, allocations: 7.922 kB / 0.5335 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.8795, allocations: 7.682 MB / 0.541 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.8795, allocations: 0 / 0.541 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008373/0.8804, allocations: 183.8 kB / 0.5412 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02689/0.9073, allocations: 3.911 MB / 0.545 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000275/0.9076, allocations: 32 kB / 0.545 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.9109, allocations: 2.386 MB / 0.5474 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.9109, allocations: 2.625 kB / 0.5474 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006044/0.917, allocations: 3.628 MB / 0.5509 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008287/0.9178, allocations: 437.9 kB / 0.5513 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/0.9182, allocations: 86.97 kB / 0.5514 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.9194, allocations: 114.4 kB / 0.5515 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.9197, allocations: 101.2 kB / 0.5516 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.9198, allocations: 46.88 kB / 0.5516 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001575/0.9214, allocations: 1.073 MB / 0.5527 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9214, allocations: 0 / 0.5527 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005418/0.9268, allocations: 1.837 MB / 0.5545 GB, free: 13.73 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.006678/0.9335, allocations: 1.573 MB / 0.556 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006959/0.9405, allocations: 2.98 MB / 0.5589 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.9405, allocations: 0 / 0.5589 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.943, allocations: 1.474 MB / 0.5604 GB, free: 7.934 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/0.9467, allocations: 0.693 MB / 0.5611 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/0.9537, allocations: 5.343 MB / 0.5663 GB, free: 1.887 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.9549, allocations: 1.574 MB / 0.5678 GB, free: 280 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002482/0.9574, allocations: 1.476 MB / 0.5692 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.9577, allocations: 111.4 kB / 0.5694 GB, free: 14.71 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.9578, allocations: 0 / 0.5694 GB, free: 14.71 MB / 462.1 MB Notification: Performance of Templates: time 0.2458/1.204, allocations: 69.12 MB / 0.6369 GB, free: 209.3 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1)