Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001591/0.001591, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001776, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.001341/0.001341, allocations: 47.94 kB / 278.7 MB, free: 12.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2102, allocations: 46.64 MB / 325.3 MB, free: 2.004 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02768/0.2379, allocations: 26.6 MB / 351.9 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02762/0.2656, allocations: 24.86 MB / 376.8 MB, free: 316 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/0.2661, allocations: 8 kB / 376.8 MB, free: 308 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009652/0.2672, allocations: 298.3 kB / 377.1 MB, free: 8 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008001/0.268, allocations: 362 kB / 377.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.2799, allocations: 4.013 MB / 381.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.2812, allocations: 0.9426 MB / 382.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.2815, allocations: 105 kB / 382.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005568/0.282, allocations: 390.6 kB / 382.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.2824, allocations: 310.8 kB / 383.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.2825, allocations: 36 kB / 383.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0204/0.3029, allocations: 10.4 MB / 393.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.3031, allocations: 95.73 kB / 393.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.3036, allocations: 231.1 kB / 393.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03426/0.3378, allocations: 11.48 MB / 405.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.3379, allocations: 0 / 405.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3379, allocations: 0 / 405.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3379, allocations: 0 / 405.4 MB, free: 3.613 MB / 334.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.007911/0.3458, allocations: 1.146 MB / 406.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3459, allocations: 12.03 kB / 406.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006754/0.3466, allocations: 67.59 kB / 406.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.347, allocations: 314.3 kB / 406.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.3471, allocations: 32.66 kB / 407 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.3471, allocations: 32 kB / 407 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009536/0.3481, allocations: 467.7 kB / 407.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3481, allocations: 4 kB / 407.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.3482, allocations: 16 kB / 407.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3482, allocations: 8 kB / 407.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/0.349, allocations: 382.3 kB / 407.8 MB, free: 1.031 MB / 334.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.003376/0.3523, allocations: 2.956 MB / 410.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.353, allocations: 282.8 kB / 411.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.3533, allocations: 137.2 kB / 411.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002586/0.3559, allocations: 2.478 MB / 413.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3559, allocations: 38.56 kB / 413.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/0.3559, allocations: 0 / 413.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005301/0.3612, allocations: 1.276 MB / 415 MB, free: 9.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.3613, allocations: 59.39 kB / 415.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.3616, allocations: 266.5 kB / 415.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3616, allocations: 33.7 kB / 415.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.3618, allocations: 188 kB / 415.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.026e-05/0.3619, allocations: 122.3 kB / 415.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.362, allocations: 82.12 kB / 415.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3621, allocations: 338.8 kB / 416.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.3623, allocations: 112.8 kB / 416.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.3626, allocations: 230.1 kB / 416.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.3632, allocations: 373.5 kB / 416.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3632, allocations: 3.938 kB / 416.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008463/0.3641, allocations: 470.5 kB / 417.2 MB, free: 6.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3641, allocations: 4 kB / 417.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3641, allocations: 4 kB / 417.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004747/0.3689, allocations: 237.9 kB / 417.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.3692, allocations: 91.83 kB / 417.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.3706, allocations: 1.935 MB / 419.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.3708, allocations: 20.12 kB / 419.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.3709, allocations: 20 kB / 419.5 MB, free: 4.172 MB / 350.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.3711, allocations: 161.8 kB / 419.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.3711, allocations: 31.66 kB / 419.7 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.3724, allocations: 0.7011 MB / 420.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.3725, allocations: 8 kB / 420.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3725, allocations: 0 / 420.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008793/0.3733, allocations: 0.8596 MB / 421.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.3748, allocations: 1.191 MB / 422.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.3748, allocations: 0 / 422.5 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.3751, allocations: 71.84 kB / 422.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/0.3767, allocations: 172.5 kB / 422.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.3767, allocations: 15.98 kB / 422.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003636/0.3771, allocations: 0.5641 MB / 423.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3771, allocations: 7.875 kB / 423.3 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009726/0.3781, allocations: 0.7294 MB / 424 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.3782, allocations: 112.7 kB / 424.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.3783, allocations: 12 kB / 424.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.3784, allocations: 4 kB / 424.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.3785, allocations: 31.64 kB / 424.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3785, allocations: 12 kB / 424.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.3788, allocations: 225.9 kB / 424.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3788, allocations: 3.938 kB / 424.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004694/0.3835, allocations: 0.7379 MB / 425.2 MB, free: 14.3 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03622/0.4197, allocations: 6.393 MB / 431.6 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.421, allocations: 0.4902 MB / 432 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.421, allocations: 0 / 432 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.4215, allocations: 224 kB / 432.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.4229, allocations: 192.4 kB / 432.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.4246, allocations: 0.8923 MB / 433.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.425, allocations: 0.8051 MB / 434.2 MB, free: 5.234 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005034/0.4255, allocations: 194.9 kB / 434.3 MB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.4256, allocations: 39.44 kB / 434.4 MB, free: 5.008 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.4256, allocations: 4 kB / 434.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of Templates: time 0.2033/0.6289, allocations: 28.97 MB / 463.4 MB, free: 107.8 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)