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.001281/0.001281, allocations: 100 kB / 15.05 MB, free: 1.105 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.001374/0.001374, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005197/0.0005202, allocations: 12 kB / 278.8 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3004, allocations: 47.59 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.06475/0.3652, allocations: 60.86 MB / 387.3 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02969/0.3949, allocations: 21.64 MB / 408.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.3968, allocations: 47.62 kB / 409 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.3989, allocations: 0.6804 MB / 409.7 MB, free: 100 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02016/0.4191, allocations: 5.056 MB / 414.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01254/0.4316, allocations: 3.612 MB / 418.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004831/0.4365, allocations: 2.071 MB / 420.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.4381, allocations: 0.8587 MB / 421.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.4411, allocations: 1.258 MB / 422.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02372/0.4649, allocations: 14.93 MB / 437.5 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005487/0.4655, allocations: 83.94 kB / 437.5 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02432/0.4898, allocations: 11.12 MB / 448.7 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.491, allocations: 406.8 kB / 449.1 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008016/0.4918, allocations: 321 kB / 449.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.5043, allocations: 4.779 MB / 454.2 MB, free: 3.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5043, allocations: 0 / 454.2 MB, free: 3.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.5044, allocations: 4 kB / 454.2 MB, free: 3.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.691e-05/0.5044, allocations: 0 / 454.2 MB, free: 3.523 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.009537/0.514, allocations: 2.572 MB / 456.7 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/0.514, allocations: 12.03 kB / 456.7 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004721/0.5188, allocations: 0.5837 MB / 457.3 MB, free: 304 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2125/0.7313, allocations: 0.9502 MB / 458.3 MB, free: 116.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.7315, allocations: 95.84 kB / 458.4 MB, free: 116.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/0.7318, allocations: 102.2 kB / 458.5 MB, free: 116.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005834/0.7376, allocations: 2.253 MB / 460.7 MB, free: 115.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.7377, allocations: 11.28 kB / 460.7 MB, free: 115.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.7379, allocations: 53.38 kB / 460.8 MB, free: 115.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.738, allocations: 85.44 kB / 460.9 MB, free: 115.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005812/0.7438, allocations: 2.383 MB / 463.3 MB, free: 114.8 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.01217/0.756, allocations: 9.254 MB / 472.5 MB, free: 107.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004835/0.7609, allocations: 1.932 MB / 474.4 MB, free: 106.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04347/0.8044, allocations: 24.77 MB / 499.2 MB, free: 80.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/0.8044, allocations: 50.56 kB / 499.3 MB, free: 80.52 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001206/0.8057, allocations: 173 kB / 499.4 MB, free: 80.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=109): time 3.367e-06/0.8057, allocations: 0 / 499.4 MB, free: 80.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01891/0.8246, allocations: 4.717 MB / 0.4923 GB, free: 75.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.8248, allocations: 218.6 kB / 0.4925 GB, free: 75.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.8271, allocations: 0.9631 MB / 0.4935 GB, free: 74.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.8274, allocations: 45.7 kB / 0.4935 GB, free: 74.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.8278, allocations: 0.5587 MB / 0.4941 GB, free: 73.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/0.8282, allocations: 380 kB / 0.4944 GB, free: 73.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.8283, allocations: 24 kB / 0.4944 GB, free: 73.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.8284, allocations: 353.9 kB / 0.4948 GB, free: 73.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.8298, allocations: 0.6623 MB / 0.4954 GB, free: 72.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.8313, allocations: 1.027 MB / 0.4964 GB, free: 71.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.8329, allocations: 0.7875 MB / 0.4972 GB, free: 70.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.8329, allocations: 0 / 0.4972 GB, free: 70.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004048/0.837, allocations: 2.106 MB / 0.4993 GB, free: 68.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001067/0.8381, allocations: 3.745 MB / 0.5029 GB, free: 64.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.8381, allocations: 15.66 kB / 0.5029 GB, free: 64.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0269/0.865, allocations: 3.063 MB / 0.5059 GB, free: 61.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.8664, allocations: 275.5 kB / 0.5062 GB, free: 60.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.869, allocations: 1.486 MB / 0.5076 GB, free: 59.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.8708, allocations: 131.9 kB / 0.5078 GB, free: 59.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/0.8711, allocations: 71.97 kB / 0.5078 GB, free: 59.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.8711, allocations: 4 kB / 0.5078 GB, free: 59.17 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004446/0.8756, allocations: 1.871 MB / 0.5097 GB, free: 57.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.8756, allocations: 12 kB / 0.5097 GB, free: 57.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007785/0.8764, allocations: 200.7 kB / 0.5099 GB, free: 57.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.8778, allocations: 347.5 kB / 0.5102 GB, free: 56.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007654/0.8786, allocations: 0.7475 MB / 0.5109 GB, free: 55.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.8801, allocations: 139.7 kB / 0.5111 GB, free: 55.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.8803, allocations: 71.97 kB / 0.5111 GB, free: 55.77 MB / 382.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,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0008103/0.8811, allocations: 436.6 kB / 0.5115 GB, free: 55.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/0.8814, allocations: 126.5 kB / 0.5117 GB, free: 55.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006865/0.8883, allocations: 5.694 MB / 0.5172 GB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/0.8884, allocations: 63.86 kB / 0.5173 GB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.8884, allocations: 0 / 0.5173 GB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.8884, allocations: 3.984 kB / 0.5173 GB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009609/0.898, allocations: 7.735 MB / 0.5248 GB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.8981, allocations: 4 kB / 0.5248 GB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007591/0.8988, allocations: 203.8 kB / 0.525 GB, free: 41.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02227/0.9211, allocations: 3.937 MB / 0.5289 GB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003081/0.9215, allocations: 32 kB / 0.5289 GB, free: 37.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002917/0.9244, allocations: 2.393 MB / 0.5313 GB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9244, allocations: 3.938 kB / 0.5313 GB, free: 35.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/0.9298, allocations: 3.703 MB / 0.5349 GB, free: 31.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.931, allocations: 0.6412 MB / 0.5355 GB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/0.9314, allocations: 24 kB / 0.5355 GB, free: 30.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.9327, allocations: 127.6 kB / 0.5356 GB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/0.9329, allocations: 105 kB / 0.5357 GB, free: 30.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.794e-05/0.9331, allocations: 43.98 kB / 0.5358 GB, free: 30.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.9344, allocations: 1.065 MB / 0.5368 GB, free: 29.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9345, allocations: 0 / 0.5368 GB, free: 29.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006224/0.9407, allocations: 1.858 MB / 0.5386 GB, free: 27.49 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.006326/0.947, allocations: 1.532 MB / 0.5401 GB, free: 26.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006659/0.9537, allocations: 3.05 MB / 0.5431 GB, free: 23.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.9538, allocations: 0 / 0.5431 GB, free: 23.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002394/0.9562, allocations: 1.499 MB / 0.5446 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/0.9599, allocations: 0.678 MB / 0.5452 GB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007292/0.9672, allocations: 5.309 MB / 0.5504 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.9684, allocations: 1.621 MB / 0.552 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002631/0.971, allocations: 1.487 MB / 0.5535 GB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.9714, allocations: 111.4 kB / 0.5536 GB, free: 12.37 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.9714, allocations: 0 / 0.5536 GB, free: 12.37 MB / 382.1 MB Notification: Performance of Templates: time 0.282/1.253, allocations: 68.32 MB / 0.6203 GB, free: 128.6 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.InverseParameterization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: