Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009701, allocations: 94.11 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.001/0.001, allocations: 180.4 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.385/1.385, allocations: 205.4 MB / 223.4 MB, free: 5.293 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.0004932/0.0004934, allocations: 10.66 kB / 280.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2256, allocations: 47.59 MB / 327.7 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03057/0.2562, allocations: 31.68 MB / 359.4 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02664/0.2829, allocations: 25.58 MB / 385 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007095/0.2837, allocations: 8 kB / 385 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.2848, allocations: 334.5 kB / 385.3 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008976/0.2857, allocations: 363 kB / 385.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01296/0.2987, allocations: 3.958 MB / 389.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.3004, allocations: 0.7692 MB / 390.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.3008, allocations: 118.3 kB / 390.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.3019, allocations: 398.8 kB / 390.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.3024, allocations: 282.9 kB / 391.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.3025, allocations: 24 kB / 391.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2787/0.5812, allocations: 69.16 MB / 460.4 MB, free: 61.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.5815, allocations: 109.4 kB / 460.5 MB, free: 61.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.5818, allocations: 144.8 kB / 460.6 MB, free: 61.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03504/0.6169, allocations: 13.82 MB / 474.4 MB, free: 61.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.6169, allocations: 0 / 474.4 MB, free: 61.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.6169, allocations: 0 / 474.4 MB, free: 61.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.6169, allocations: 0 / 474.4 MB, free: 61.43 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.01245/0.6294, allocations: 1.318 MB / 475.7 MB, free: 60.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6294, allocations: 8.5 kB / 475.8 MB, free: 60.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007189/0.6302, allocations: 95.3 kB / 475.8 MB, free: 60.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.6306, allocations: 382.5 kB / 476.2 MB, free: 60.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.6306, allocations: 31.03 kB / 476.3 MB, free: 60.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/0.6307, allocations: 46.19 kB / 476.3 MB, free: 60.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.6317, allocations: 0.6173 MB / 476.9 MB, free: 60.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.6318, allocations: 2.625 kB / 476.9 MB, free: 60.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.6318, allocations: 24.19 kB / 476.9 MB, free: 60.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.6318, allocations: 12.25 kB / 477 MB, free: 60.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.6326, allocations: 0.524 MB / 477.5 MB, free: 60.19 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.003388/0.636, allocations: 3.815 MB / 481.3 MB, free: 57.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/0.6368, allocations: 413 kB / 481.7 MB, free: 57.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/0.6391, allocations: 3.55 MB / 485.2 MB, free: 53.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.6391, allocations: 44.17 kB / 485.3 MB, free: 53.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 1.874e-06/0.6391, allocations: 0 / 485.3 MB, free: 53.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.008355/0.6475, allocations: 2.039 MB / 487.3 MB, free: 51.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.6475, allocations: 59.84 kB / 487.4 MB, free: 51.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.6478, allocations: 307.6 kB / 487.7 MB, free: 51.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.6478, allocations: 31.52 kB / 487.7 MB, free: 51.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.6479, allocations: 233.7 kB / 487.9 MB, free: 51.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.648, allocations: 191.5 kB / 488.1 MB, free: 51.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.648, allocations: 11 kB / 488.1 MB, free: 51.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.894e-05/0.6481, allocations: 355.4 kB / 488.5 MB, free: 50.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.6484, allocations: 179.8 kB / 488.7 MB, free: 50.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.6486, allocations: 319.9 kB / 489 MB, free: 50.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.6489, allocations: 231.3 kB / 489.2 MB, free: 50.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.649, allocations: 7.953 kB / 489.2 MB, free: 50.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001012/0.65, allocations: 0.6668 MB / 489.9 MB, free: 49.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.65, allocations: 6.906 kB / 489.9 MB, free: 49.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.65, allocations: 5 kB / 489.9 MB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008732/0.6588, allocations: 452.5 kB / 490.3 MB, free: 49.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.6593, allocations: 142.8 kB / 490.5 MB, free: 49.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.6606, allocations: 2.997 MB / 493.5 MB, free: 46.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.6609, allocations: 48.16 kB / 493.5 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.661, allocations: 36.55 kB / 493.5 MB, free: 46.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002041/0.6612, allocations: 189.5 kB / 493.7 MB, free: 46.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.6613, allocations: 50.97 kB / 493.8 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.6625, allocations: 1.052 MB / 494.8 MB, free: 45.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.6625, allocations: 15.09 kB / 494.9 MB, free: 45.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.6625, allocations: 0 / 494.9 MB, free: 45.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008435/0.6634, allocations: 1.086 MB / 495.9 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.665, allocations: 1.736 MB / 497.7 MB, free: 43.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.665, allocations: 0 / 497.7 MB, free: 43.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.6654, allocations: 99.73 kB / 497.8 MB, free: 43.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00294/0.6683, allocations: 356.7 kB / 498.1 MB, free: 43.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.6684, allocations: 21.73 kB / 498.1 MB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003939/0.6688, allocations: 1.148 MB / 499.3 MB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6688, allocations: 4.031 kB / 499.3 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.6699, allocations: 1.122 MB / 0.4887 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.67, allocations: 142.4 kB / 0.4888 GB, free: 41.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.67, allocations: 10.5 kB / 0.4888 GB, free: 41.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.6703, allocations: 37.36 kB / 0.4889 GB, free: 41.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.6704, allocations: 31.58 kB / 0.4889 GB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.6704, allocations: 26.23 kB / 0.4889 GB, free: 41.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001905/0.6706, allocations: 244.8 kB / 0.4892 GB, free: 41.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6706, allocations: 4 kB / 0.4892 GB, free: 41.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006402/0.677, allocations: 0.96 MB / 0.4901 GB, free: 40.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.04688/0.7239, allocations: 7.868 MB / 0.4978 GB, free: 32.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.7254, allocations: 0.6942 MB / 0.4985 GB, free: 32.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.7254, allocations: 6 kB / 0.4985 GB, free: 32.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.7259, allocations: 358.7 kB / 0.4988 GB, free: 31.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.7272, allocations: 253.9 kB / 0.499 GB, free: 31.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.729, allocations: 1.611 MB / 0.5006 GB, free: 30.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.7292, allocations: 0.8803 MB / 0.5015 GB, free: 29.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004581/0.7297, allocations: 235.7 kB / 0.5017 GB, free: 29.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/0.7298, allocations: 47.44 kB / 0.5018 GB, free: 29.14 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.7298, allocations: 0 / 0.5018 GB, free: 29.14 MB / 382.1 MB Notification: Performance of Templates: time 0.04142/0.7712, allocations: 34.94 MB / 0.5359 GB, free: 10.66 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) Environment - environmentSimulation: