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.001241/0.001241, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001475/0.001475, allocations: 182.5 kB / 17.21 MB, free: 6.324 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.447/1.447, allocations: 205.4 MB / 223.4 MB, free: 5.789 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.0004756/0.0004758, allocations: 14.81 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2255, allocations: 47.59 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03425/0.2598, allocations: 34.77 MB / 362.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.03026/0.2901, allocations: 28.14 MB / 390.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005382/0.2907, allocations: 4 kB / 390.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009522/0.2917, allocations: 314.3 kB / 390.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.2929, allocations: 489.4 kB / 391.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01213/0.305, allocations: 3.836 MB / 395.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.3074, allocations: 1.695 MB / 396.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.3077, allocations: 126.3 kB / 397.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.3087, allocations: 462.2 kB / 397.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008422/0.3096, allocations: 430.3 kB / 397.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.3097, allocations: 24 kB / 398 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07448/0.3842, allocations: 51.74 MB / 449.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.3845, allocations: 111.6 kB / 449.8 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002993/0.3849, allocations: 141.5 kB / 450 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2232/0.6081, allocations: 13.87 MB / 463.8 MB, free: 50.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.6081, allocations: 2.781 kB / 463.8 MB, free: 50.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.6081, allocations: 0.875 kB / 463.8 MB, free: 50.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.6082, allocations: 0 / 463.8 MB, free: 50.91 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.01075/0.6189, allocations: 1.32 MB / 465.2 MB, free: 50.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.619, allocations: 10.03 kB / 465.2 MB, free: 50.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000736/0.6197, allocations: 87.55 kB / 465.3 MB, free: 50.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.6202, allocations: 379.1 kB / 465.6 MB, free: 49.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.6202, allocations: 34.59 kB / 465.7 MB, free: 49.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.6203, allocations: 50.78 kB / 465.7 MB, free: 49.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6214, allocations: 0.6118 MB / 466.3 MB, free: 49.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.6214, allocations: 4.938 kB / 466.3 MB, free: 49.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.6214, allocations: 19.94 kB / 466.3 MB, free: 49.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.6215, allocations: 16.98 kB / 466.4 MB, free: 49.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000874/0.6223, allocations: 0.5225 MB / 466.9 MB, free: 49.77 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.003536/0.6259, allocations: 3.81 MB / 470.7 MB, free: 47.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008268/0.6267, allocations: 416.6 kB / 471.1 MB, free: 47.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.627, allocations: 205.4 kB / 471.3 MB, free: 47.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002399/0.6294, allocations: 3.541 MB / 474.8 MB, free: 43.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.6295, allocations: 43.66 kB / 474.9 MB, free: 43.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.575e-06/0.6295, allocations: 0 / 474.9 MB, free: 43.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.00883/0.6383, allocations: 2.042 MB / 476.9 MB, free: 43.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.6383, allocations: 58.81 kB / 477 MB, free: 43.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.6387, allocations: 307.2 kB / 477.3 MB, free: 43.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.6387, allocations: 35.45 kB / 477.3 MB, free: 43.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.6388, allocations: 238.8 kB / 477.5 MB, free: 42.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.639, allocations: 193.4 kB / 477.7 MB, free: 42.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.639, allocations: 9.75 kB / 477.7 MB, free: 42.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.6391, allocations: 356 kB / 478.1 MB, free: 42.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.6394, allocations: 175.4 kB / 478.3 MB, free: 42.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.6397, allocations: 327.1 kB / 478.6 MB, free: 42.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.6401, allocations: 234.3 kB / 478.8 MB, free: 42.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.6401, allocations: 3 kB / 478.8 MB, free: 42.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001195/0.6413, allocations: 0.6674 MB / 479.5 MB, free: 42.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.6413, allocations: 5.594 kB / 479.5 MB, free: 42.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6413, allocations: 10.12 kB / 479.5 MB, free: 42.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007874/0.6492, allocations: 451.1 kB / 479.9 MB, free: 42.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.6498, allocations: 141.9 kB / 480.1 MB, free: 42.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.6514, allocations: 2.991 MB / 483.1 MB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.6519, allocations: 53.81 kB / 483.1 MB, free: 39.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.652, allocations: 31.95 kB / 483.2 MB, free: 39.29 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.0002972/0.6523, allocations: 189.2 kB / 483.3 MB, free: 39.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.6524, allocations: 45.69 kB / 483.4 MB, free: 39.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.6539, allocations: 1.054 MB / 484.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.654, allocations: 13.52 kB / 484.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.654, allocations: 0 / 484.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/0.6551, allocations: 1.089 MB / 485.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.6573, allocations: 1.728 MB / 487.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.6573, allocations: 1.188 kB / 487.3 MB, free: 38.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.6577, allocations: 104.2 kB / 487.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/0.6604, allocations: 358.9 kB / 487.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.6605, allocations: 13.56 kB / 487.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004479/0.6609, allocations: 1.153 MB / 488.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6609, allocations: 4 kB / 488.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.6623, allocations: 1.131 MB / 490 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.6625, allocations: 141 kB / 490.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.6625, allocations: 14.89 kB / 490.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.6629, allocations: 28.88 kB / 490.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.663, allocations: 37.91 kB / 490.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.663, allocations: 29.7 kB / 490.3 MB, free: 36.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002372/0.6633, allocations: 241.5 kB / 490.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6633, allocations: 0 / 490.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00759/0.6709, allocations: 0.9587 MB / 491.5 MB, free: 36.64 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.05067/0.7216, allocations: 7.86 MB / 499.3 MB, free: 31.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.7233, allocations: 0.6947 MB / 0.4883 GB, free: 31.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.7233, allocations: 0 / 0.4883 GB, free: 31.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.7239, allocations: 368.2 kB / 0.4886 GB, free: 30.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.7253, allocations: 258 kB / 0.4889 GB, free: 30.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.7275, allocations: 1.613 MB / 0.4905 GB, free: 29.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.7278, allocations: 0.8663 MB / 0.4913 GB, free: 28.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005301/0.7283, allocations: 238.9 kB / 0.4915 GB, free: 28.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.7284, allocations: 50.38 kB / 0.4916 GB, free: 28.43 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7284, allocations: 0 / 0.4916 GB, free: 28.43 MB / 382.1 MB Notification: Performance of Templates: time 0.04362/0.7721, allocations: 34.98 MB / 0.5257 GB, free: 11.43 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.makefile (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)