Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.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.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 99.7 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.001489/0.00149, 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.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0008/0.0008001, allocations: 12 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.222, allocations: 47.58 MB / 326.4 MB, free: 1.66 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02413/0.2461, allocations: 22.54 MB / 349 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02407/0.2702, allocations: 20.78 MB / 369.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004596/0.2707, allocations: 7.938 kB / 369.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008207/0.2716, allocations: 242.9 kB / 370 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006365/0.2722, allocations: 259.2 kB / 370.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009367/0.2816, allocations: 3.105 MB / 373.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008887/0.2825, allocations: 0.5311 MB / 373.9 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.2827, allocations: 81.02 kB / 374 MB, free: 4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004753/0.2832, allocations: 287.1 kB / 374.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.2834, allocations: 187.3 kB / 374.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.2835, allocations: 16 kB / 374.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06242/0.3459, allocations: 53.57 MB / 428 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.3463, allocations: 83.7 kB / 428.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.3467, allocations: 105.6 kB / 428.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02933/0.376, allocations: 10.64 MB / 438.8 MB, free: 3.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3761, allocations: 4 kB / 438.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.739e-06/0.3761, allocations: 0 / 438.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3761, allocations: 0 / 438.8 MB, free: 3.07 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006774/0.3829, allocations: 1.061 MB / 439.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.383, allocations: 12.02 kB / 439.9 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/0.3835, allocations: 79.39 kB / 440 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.3839, allocations: 310.3 kB / 440.3 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.384, allocations: 28.66 kB / 440.3 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.384, allocations: 32 kB / 440.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008388/0.3849, allocations: 451.8 kB / 440.8 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.3849, allocations: 7.984 kB / 440.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.385, allocations: 12 kB / 440.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.385, allocations: 8 kB / 440.8 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007069/0.3857, allocations: 386.3 kB / 441.2 MB, free: 0.5859 MB / 366.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.003685/0.3894, allocations: 2.953 MB / 444.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/0.39, allocations: 294.7 kB / 444.4 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002383/0.3924, allocations: 2.545 MB / 447 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3924, allocations: 34.56 kB / 447 MB, free: 10.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/0.3925, allocations: 0 / 447 MB, free: 10.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005074/0.3975, allocations: 1.293 MB / 448.3 MB, free: 8.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3976, allocations: 59.34 kB / 448.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.3979, allocations: 254.5 kB / 448.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.3979, allocations: 33.7 kB / 448.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.398, allocations: 196 kB / 448.8 MB, free: 8.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/0.3981, allocations: 114.3 kB / 449 MB, free: 7.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.3982, allocations: 11.94 kB / 449 MB, free: 7.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3983, allocations: 346.8 kB / 449.3 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.3985, allocations: 108.8 kB / 449.4 MB, free: 7.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.3988, allocations: 230 kB / 449.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.399, allocations: 147.9 kB / 449.8 MB, free: 7.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.399, allocations: 3.984 kB / 449.8 MB, free: 7.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007883/0.3998, allocations: 458.7 kB / 450.2 MB, free: 6.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3998, allocations: 8 kB / 450.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3998, allocations: 4 kB / 450.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00455/0.4044, allocations: 229.4 kB / 450.5 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.4048, allocations: 84.16 kB / 450.6 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.4061, allocations: 1.856 MB / 452.4 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.4064, allocations: 35.83 kB / 452.4 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.4065, allocations: 16 kB / 452.5 MB, free: 4.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.4067, allocations: 161.8 kB / 452.6 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.4068, allocations: 35.61 kB / 452.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.4078, allocations: 0.6928 MB / 453.3 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.4078, allocations: 15.94 kB / 453.4 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4078, allocations: 0 / 453.4 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007874/0.4086, allocations: 0.8518 MB / 454.2 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.4101, allocations: 1.202 MB / 455.4 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4101, allocations: 0 / 455.4 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.4103, allocations: 59.97 kB / 455.5 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/0.4119, allocations: 188.5 kB / 455.7 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.4119, allocations: 8 kB / 455.7 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003558/0.4123, allocations: 0.5796 MB / 456.2 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4123, allocations: 0 / 456.2 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1835/0.5958, allocations: 0.7244 MB / 457 MB, free: 111.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.596, allocations: 125.4 kB / 457.1 MB, free: 111.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.5961, allocations: 8.516 kB / 457.1 MB, free: 111.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.5964, allocations: 23.61 kB / 457.1 MB, free: 111.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.5965, allocations: 24.77 kB / 457.1 MB, free: 111.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.5965, allocations: 14.53 kB / 457.2 MB, free: 111.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003208/0.5968, allocations: 218.4 kB / 457.4 MB, free: 111.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5968, allocations: 0.5 kB / 457.4 MB, free: 111.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005419/0.6023, allocations: 0.7451 MB / 458.1 MB, free: 111.7 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03317/0.6355, allocations: 6.379 MB / 464.5 MB, free: 108.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008969/0.6364, allocations: 493.4 kB / 465 MB, free: 108.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6364, allocations: 1 kB / 465 MB, free: 108.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.6367, allocations: 214.4 kB / 465.2 MB, free: 108.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009849/0.6377, allocations: 183 kB / 465.4 MB, free: 108.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.6389, allocations: 1.09 MB / 466.5 MB, free: 108.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.6391, allocations: 0.8156 MB / 467.3 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003374/0.6395, allocations: 194.6 kB / 467.5 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.6396, allocations: 39.03 kB / 467.5 MB, free: 107.3 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.6396, allocations: 3.344 kB / 467.5 MB, free: 107.3 MB / 382.1 MB Notification: Performance of Templates: time 0.03185/0.6714, allocations: 28.18 MB / 495.7 MB, free: 80.71 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) Environment - environmentSimulation: