Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001031/0.00103, allocations: 100.9 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.0009061/0.0009064, allocations: 177.3 kB / 15.94 MB, free: 228 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.639/1.639, allocations: 205.4 MB / 222.1 MB, free: 5.48 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.0004772/0.0004772, allocations: 8 kB / 278.8 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2497, allocations: 47.59 MB / 326.4 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.05772/0.3074, allocations: 60.87 MB / 387.3 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02819/0.3357, allocations: 21.63 MB / 408.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.3379, allocations: 47.62 kB / 409 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.3401, allocations: 0.6804 MB / 409.7 MB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01708/0.3572, allocations: 5.06 MB / 414.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.368, allocations: 3.604 MB / 418.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004589/0.3726, allocations: 2.071 MB / 420.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.3745, allocations: 0.8665 MB / 421.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.3778, allocations: 1.258 MB / 422.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02276/0.4006, allocations: 14.93 MB / 437.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005048/0.4012, allocations: 80 kB / 437.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0219/0.4231, allocations: 11.13 MB / 448.7 MB, free: 9.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009479/0.4241, allocations: 398.8 kB / 449.1 MB, free: 8.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007145/0.4248, allocations: 324.9 kB / 449.4 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.4349, allocations: 4.783 MB / 454.2 MB, free: 3.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.435, allocations: 0 / 454.2 MB, free: 3.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.039e-06/0.435, allocations: 0 / 454.2 MB, free: 3.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.435, allocations: 3.938 kB / 454.2 MB, free: 3.52 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.008469/0.4435, allocations: 2.576 MB / 456.7 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4436, allocations: 8.031 kB / 456.7 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/0.4478, allocations: 0.5759 MB / 457.3 MB, free: 308 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2106/0.6585, allocations: 0.9559 MB / 458.3 MB, free: 116.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.6587, allocations: 94.61 kB / 458.4 MB, free: 116.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/0.6589, allocations: 107.7 kB / 458.5 MB, free: 116.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005276/0.6642, allocations: 2.247 MB / 460.7 MB, free: 115.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.6643, allocations: 6 kB / 460.7 MB, free: 115.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.6645, allocations: 52.42 kB / 460.8 MB, free: 115.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.6646, allocations: 88.89 kB / 460.9 MB, free: 115.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005271/0.6699, allocations: 2.381 MB / 463.2 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.01047/0.6803, allocations: 9.262 MB / 472.5 MB, free: 107.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/0.6848, allocations: 1.922 MB / 474.4 MB, free: 106.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04179/0.7266, allocations: 24.76 MB / 499.2 MB, free: 80.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.323e-05/0.7267, allocations: 47.5 kB / 499.2 MB, free: 80.56 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001305/0.728, allocations: 181.2 kB / 499.4 MB, free: 80.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=109): time 3.066e-06/0.728, allocations: 0 / 499.4 MB, free: 80.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.01672/0.7448, allocations: 4.717 MB / 0.4923 GB, free: 75.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.7449, allocations: 218.6 kB / 0.4925 GB, free: 75.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.7459, allocations: 0.9592 MB / 0.4935 GB, free: 74.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.7461, allocations: 49.7 kB / 0.4935 GB, free: 74.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.7464, allocations: 0.5551 MB / 0.494 GB, free: 73.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.7466, allocations: 378.4 kB / 0.4944 GB, free: 73.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.7467, allocations: 24 kB / 0.4944 GB, free: 73.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.7468, allocations: 353.9 kB / 0.4948 GB, free: 73.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.748, allocations: 0.6701 MB / 0.4954 GB, free: 72.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.7492, allocations: 1.021 MB / 0.4964 GB, free: 71.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.7505, allocations: 0.7771 MB / 0.4972 GB, free: 70.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.7505, allocations: 4 kB / 0.4972 GB, free: 70.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003435/0.7539, allocations: 2.109 MB / 0.4992 GB, free: 68.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006323/0.7546, allocations: 3.749 MB / 0.5029 GB, free: 64.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.7546, allocations: 11.77 kB / 0.5029 GB, free: 64.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02588/0.7805, allocations: 3.071 MB / 0.5059 GB, free: 61.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.7817, allocations: 275.5 kB / 0.5062 GB, free: 60.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.7843, allocations: 1.486 MB / 0.5076 GB, free: 59.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.786, allocations: 131.9 kB / 0.5078 GB, free: 59.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.7862, allocations: 71.97 kB / 0.5078 GB, free: 59.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.7862, allocations: 4 kB / 0.5078 GB, free: 59.2 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004168/0.7904, allocations: 1.871 MB / 0.5097 GB, free: 57.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.7904, allocations: 8 kB / 0.5097 GB, free: 57.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007303/0.7912, allocations: 200.7 kB / 0.5099 GB, free: 57.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.7925, allocations: 351.5 kB / 0.5102 GB, free: 56.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007355/0.7933, allocations: 0.7501 MB / 0.5109 GB, free: 56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.7947, allocations: 139.7 kB / 0.5111 GB, free: 55.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.7948, allocations: 67.97 kB / 0.5111 GB, free: 55.8 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.0006714/0.7955, allocations: 432.6 kB / 0.5115 GB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.7958, allocations: 130.5 kB / 0.5117 GB, free: 55.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006512/0.8023, allocations: 5.693 MB / 0.5172 GB, free: 49.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/0.8023, allocations: 63.86 kB / 0.5173 GB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.8024, allocations: 4 kB / 0.5173 GB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.8024, allocations: 4.859 kB / 0.5173 GB, free: 49.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009182/0.8116, allocations: 7.731 MB / 0.5248 GB, free: 41.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.8116, allocations: 0 / 0.5248 GB, free: 41.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/0.8124, allocations: 211.8 kB / 0.525 GB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02219/0.8346, allocations: 3.939 MB / 0.5289 GB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/0.8349, allocations: 27.98 kB / 0.5289 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.8376, allocations: 2.393 MB / 0.5312 GB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.8376, allocations: 7.984 kB / 0.5313 GB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005035/0.8426, allocations: 3.699 MB / 0.5349 GB, free: 31.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009946/0.8436, allocations: 0.6412 MB / 0.5355 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000331/0.844, allocations: 28.31 kB / 0.5355 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.8451, allocations: 131.6 kB / 0.5356 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.8452, allocations: 101.2 kB / 0.5357 GB, free: 30.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.532e-05/0.8453, allocations: 43.98 kB / 0.5358 GB, free: 30.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00121/0.8466, allocations: 1.062 MB / 0.5368 GB, free: 29.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8466, allocations: 4 kB / 0.5368 GB, free: 29.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004442/0.851, allocations: 1.852 MB / 0.5386 GB, free: 27.52 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.005211/0.8562, allocations: 1.543 MB / 0.5401 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005655/0.8619, allocations: 3.046 MB / 0.5431 GB, free: 23.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.8619, allocations: 0 / 0.5431 GB, free: 23.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.8641, allocations: 1.497 MB / 0.5446 GB, free: 21.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/0.8671, allocations: 0.6777 MB / 0.5452 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.8728, allocations: 5.313 MB / 0.5504 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.8736, allocations: 1.625 MB / 0.552 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002009/0.8757, allocations: 1.482 MB / 0.5535 GB, free: 12.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/0.8759, allocations: 115.4 kB / 0.5536 GB, free: 12.39 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.876, allocations: 0 / 0.5536 GB, free: 12.39 MB / 382.1 MB Notification: Performance of Templates: time 0.2485/1.124, allocations: 68.31 MB / 0.6203 GB, free: 129 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1) Environment - environmentSimulation: