Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009839/0.0009839, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001073/0.001073, allocations: 181.1 kB / 17.2 MB, free: 5.914 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.401/1.401, allocations: 205.4 MB / 223.4 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.000421/0.0004211, allocations: 14.81 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2624, allocations: 47.58 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02686/0.2893, allocations: 22.54 MB / 350.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02311/0.3124, allocations: 20.78 MB / 371 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004297/0.3129, allocations: 4 kB / 371 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00089/0.3138, allocations: 243 kB / 371.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006546/0.3145, allocations: 255.3 kB / 371.5 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.3245, allocations: 3.105 MB / 374.6 MB, free: 4.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.3257, allocations: 0.535 MB / 375.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.3259, allocations: 73.03 kB / 375.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005604/0.3264, allocations: 291.1 kB / 375.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.3267, allocations: 199.2 kB / 375.7 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.3268, allocations: 19.94 kB / 375.7 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06605/0.3928, allocations: 53.56 MB / 429.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.3932, allocations: 79.72 kB / 429.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.3935, allocations: 109.5 kB / 429.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03075/0.4242, allocations: 10.64 MB / 440.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4243, allocations: 4 kB / 440.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4243, allocations: 0 / 440.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.954e-06/0.4243, allocations: 0 / 440.1 MB, free: 2.961 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.0066/0.4309, allocations: 1.065 MB / 441.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.431, allocations: 8.031 kB / 441.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/0.4315, allocations: 71.45 kB / 441.2 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.432, allocations: 318.3 kB / 441.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.432, allocations: 24.66 kB / 441.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.4321, allocations: 32 kB / 441.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/0.4329, allocations: 455.8 kB / 442.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.433, allocations: 4 kB / 442.1 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.433, allocations: 20 kB / 442.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.433, allocations: 8 kB / 442.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007091/0.4337, allocations: 386.2 kB / 442.5 MB, free: 484 kB / 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.003778/0.4375, allocations: 2.945 MB / 445.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.4382, allocations: 286.8 kB / 445.7 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002454/0.4407, allocations: 2.545 MB / 448.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.4407, allocations: 42.55 kB / 448.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.225e-06/0.4407, allocations: 0 / 448.3 MB, free: 9.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005363/0.4461, allocations: 1.293 MB / 449.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.4462, allocations: 55.41 kB / 449.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.4465, allocations: 258.5 kB / 449.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.4465, allocations: 37.7 kB / 449.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.4466, allocations: 188 kB / 450.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/0.4467, allocations: 118.3 kB / 450.2 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.4468, allocations: 8 kB / 450.2 MB, free: 7.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4469, allocations: 350.8 kB / 450.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.4471, allocations: 108.8 kB / 450.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.4474, allocations: 226 kB / 450.9 MB, free: 7.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.4476, allocations: 152 kB / 451 MB, free: 6.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4476, allocations: 4 kB / 451 MB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008289/0.4484, allocations: 454.8 kB / 451.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4485, allocations: 8 kB / 451.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4485, allocations: 7.938 kB / 451.5 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004637/0.4531, allocations: 237.4 kB / 451.7 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.4535, allocations: 88.05 kB / 451.8 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4551, allocations: 1.844 MB / 453.7 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.4555, allocations: 35.83 kB / 453.7 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.4555, allocations: 20 kB / 453.7 MB, free: 4.121 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.0002481/0.4558, allocations: 169.8 kB / 453.9 MB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.4558, allocations: 31.62 kB / 453.9 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.4569, allocations: 0.6927 MB / 454.6 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.4569, allocations: 15.94 kB / 454.6 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4569, allocations: 0 / 454.6 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008188/0.4578, allocations: 0.8557 MB / 455.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.4594, allocations: 1.182 MB / 456.7 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4594, allocations: 0 / 456.7 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.4597, allocations: 71.89 kB / 456.7 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.4613, allocations: 180.5 kB / 456.9 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.4613, allocations: 11.98 kB / 456.9 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003461/0.4617, allocations: 0.5718 MB / 457.5 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4617, allocations: 4.031 kB / 457.5 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1673/0.629, allocations: 0.7252 MB / 458.2 MB, free: 111.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.6292, allocations: 128.3 kB / 458.3 MB, free: 111.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.6293, allocations: 6.828 kB / 458.4 MB, free: 111.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.6295, allocations: 25.58 kB / 458.4 MB, free: 111.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.6296, allocations: 22.77 kB / 458.4 MB, free: 111.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.6296, allocations: 16.91 kB / 458.4 MB, free: 111.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.63, allocations: 217.3 kB / 458.6 MB, free: 111.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.63, allocations: 0 / 458.6 MB, free: 111.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004979/0.6349, allocations: 0.7461 MB / 459.4 MB, free: 111.5 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.03313/0.6681, allocations: 6.393 MB / 465.8 MB, free: 108.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008956/0.669, allocations: 483.4 kB / 466.2 MB, free: 108.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.669, allocations: 1 kB / 466.2 MB, free: 108.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.6694, allocations: 212.4 kB / 466.5 MB, free: 108.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.6704, allocations: 184.4 kB / 466.6 MB, free: 108.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.6717, allocations: 1.085 MB / 467.7 MB, free: 107.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.6719, allocations: 0.8156 MB / 468.5 MB, free: 107.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003715/0.6723, allocations: 201.3 kB / 468.7 MB, free: 107.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.6724, allocations: 34.62 kB / 468.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.6724, allocations: 7.312 kB / 468.8 MB, free: 107.1 MB / 382.1 MB Notification: Performance of Templates: time 0.03254/0.705, allocations: 28.18 MB / 497 MB, free: 80.52 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) Environment - environmentSimulation: