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.0008805/0.0008806, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005252/0.005252, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.574/1.574, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0005878/0.0005874, allocations: 15.19 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2614, allocations: 47.59 MB / 327 MB, free: 1.758 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.06958/0.331, allocations: 72.44 MB / 399.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03648/0.3675, allocations: 26.08 MB / 425.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.37, allocations: 47.56 kB / 425.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.3726, allocations: 0.6994 MB / 426.3 MB, free: 76 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01927/0.3919, allocations: 5.344 MB / 431.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01525/0.4072, allocations: 3.843 MB / 435.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006629/0.4138, allocations: 4.924 MB / 440.4 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.4158, allocations: 0.8949 MB / 441.3 MB, free: 1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003275/0.419, allocations: 1.319 MB / 442.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01744/0.4365, allocations: 9.347 MB / 452 MB, free: 6.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005007/0.437, allocations: 80 kB / 452 MB, free: 6.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2723/0.7093, allocations: 10.06 MB / 462.1 MB, free: 23.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008682/0.7102, allocations: 442 kB / 462.5 MB, free: 23.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.7115, allocations: 0.8223 MB / 463.4 MB, free: 23.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01905/0.7306, allocations: 6.893 MB / 470.2 MB, free: 23.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7306, allocations: 0 / 470.2 MB, free: 23.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7306, allocations: 0 / 470.2 MB, free: 23.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.7307, allocations: 0 / 470.2 MB, free: 23.37 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.009586/0.7403, allocations: 2.559 MB / 472.8 MB, free: 22.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.7403, allocations: 10.66 kB / 472.8 MB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004291/0.7446, allocations: 0.5897 MB / 473.4 MB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.7463, allocations: 0.9999 MB / 474.4 MB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.372e-05/0.7464, allocations: 93.14 kB / 474.5 MB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.7466, allocations: 103.8 kB / 474.6 MB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004802/0.7514, allocations: 2.264 MB / 476.9 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.7515, allocations: 5.219 kB / 476.9 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.7516, allocations: 53.62 kB / 476.9 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.931e-05/0.7517, allocations: 82.81 kB / 477 MB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005414/0.7572, allocations: 2.395 MB / 479.4 MB, free: 21.48 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.01162/0.7688, allocations: 9.193 MB / 488.6 MB, free: 16.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/0.7735, allocations: 1.928 MB / 490.5 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.7749, allocations: 0.8001 MB / 491.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04774/0.8226, allocations: 24.77 MB / 0.504 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.8228, allocations: 45.62 kB / 0.504 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001565/0.8244, allocations: 181.7 kB / 0.5042 GB, free: 12.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=109): time 3.957e-06/0.8244, allocations: 0 / 0.5042 GB, free: 12.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.0185/0.8429, allocations: 4.754 MB / 0.5088 GB, free: 8.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.843, allocations: 218.6 kB / 0.5091 GB, free: 8.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.8443, allocations: 0.9768 MB / 0.51 GB, free: 7.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.8445, allocations: 45.08 kB / 0.51 GB, free: 7.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.8448, allocations: 0.5512 MB / 0.5106 GB, free: 7.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.8452, allocations: 376.6 kB / 0.5109 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.8454, allocations: 114.4 kB / 0.5111 GB, free: 7.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8455, allocations: 350 kB / 0.5114 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.8469, allocations: 0.6827 MB / 0.5121 GB, free: 6.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.8485, allocations: 1.046 MB / 0.5131 GB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.8514, allocations: 1.736 MB / 0.5148 GB, free: 4.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8514, allocations: 0 / 0.5148 GB, free: 4.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004241/0.8556, allocations: 2.157 MB / 0.5169 GB, free: 2.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002371/0.8559, allocations: 380.1 kB / 0.5172 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.8559, allocations: 13.64 kB / 0.5173 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02959/0.8855, allocations: 3.072 MB / 0.5203 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.8869, allocations: 279.5 kB / 0.5205 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.8897, allocations: 1.475 MB / 0.522 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.8913, allocations: 137.7 kB / 0.5221 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.8915, allocations: 70.97 kB / 0.5222 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8915, allocations: 7.938 kB / 0.5222 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004733/0.8962, allocations: 1.887 MB / 0.524 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.8963, allocations: 8 kB / 0.524 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008624/0.8971, allocations: 200.2 kB / 0.5242 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.8986, allocations: 346 kB / 0.5245 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008995/0.8995, allocations: 0.766 MB / 0.5253 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.901, allocations: 139.3 kB / 0.5254 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.9012, allocations: 70.66 kB / 0.5255 GB, free: 10.96 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.0008608/0.902, allocations: 429.7 kB / 0.5259 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.9023, allocations: 130.4 kB / 0.526 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008013/0.9103, allocations: 5.667 MB / 0.5316 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.725e-05/0.9104, allocations: 58.66 kB / 0.5316 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.9104, allocations: 2.516 kB / 0.5316 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.9104, allocations: 11.97 kB / 0.5316 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.9209, allocations: 7.771 MB / 0.5392 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.9209, allocations: 0 / 0.5392 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.9217, allocations: 209.9 kB / 0.5394 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02554/0.9473, allocations: 3.937 MB / 0.5433 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002819/0.9476, allocations: 32.17 kB / 0.5433 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003362/0.951, allocations: 2.398 MB / 0.5456 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.951, allocations: 5.797 kB / 0.5456 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006261/0.9573, allocations: 3.694 MB / 0.5492 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009536/0.9582, allocations: 0.6411 MB / 0.5499 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.9584, allocations: 31.98 kB / 0.5499 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.9595, allocations: 119.8 kB / 0.55 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.9597, allocations: 97.17 kB / 0.5501 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.04e-05/0.9598, allocations: 47.97 kB / 0.5502 GB, free: 5.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001473/0.9613, allocations: 1.077 MB / 0.5512 GB, free: 4.664 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9613, allocations: 0 / 0.5512 GB, free: 4.664 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005618/0.9669, allocations: 1.828 MB / 0.553 GB, free: 2.836 MB / 430.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.005541/0.9724, allocations: 1.575 MB / 0.5545 GB, free: 1.406 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006633/0.9791, allocations: 3.062 MB / 0.5575 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.9791, allocations: 4 kB / 0.5575 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002556/0.9817, allocations: 1.496 MB / 0.559 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/0.9858, allocations: 0.6927 MB / 0.5597 GB, free: 12.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/0.9933, allocations: 5.406 MB / 0.5649 GB, free: 6.816 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.9945, allocations: 1.581 MB / 0.5665 GB, free: 5.199 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002922/0.9975, allocations: 1.476 MB / 0.5679 GB, free: 3.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.9978, allocations: 119.4 kB / 0.568 GB, free: 3.621 MB / 446.1 MB Notification: Performance of SimCode: time 6.22e-07/0.9978, allocations: 0 / 0.568 GB, free: 3.621 MB / 446.1 MB Notification: Performance of Templates: time 0.2879/1.286, allocations: 68.76 MB / 0.6352 GB, free: 210 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)