Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009403/0.0009404, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008636/0.0008636, allocations: 102.2 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006686/0.0006687, allocations: 39.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.193, allocations: 46.61 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01956/0.2126, allocations: 26.32 MB / 400.1 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01868/0.2314, allocations: 25.65 MB / 425.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.2318, allocations: 4 kB / 425.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007025/0.2326, allocations: 250.7 kB / 426 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006524/0.2332, allocations: 350.2 kB / 426.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.2433, allocations: 3.249 MB / 429.6 MB, free: 9.535 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.2447, allocations: 1.399 MB / 431 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.2449, allocations: 78.09 kB / 431.1 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.2453, allocations: 350.6 kB / 431.4 MB, free: 7.707 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.2457, allocations: 314.8 kB / 431.7 MB, free: 7.398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.2458, allocations: 20 kB / 431.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03985/0.2856, allocations: 27.65 MB / 459.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.2859, allocations: 95.64 kB / 459.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.2862, allocations: 207.1 kB / 459.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05077/0.337, allocations: 20.16 MB / 479.9 MB, free: 7.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3371, allocations: 0 / 479.9 MB, free: 7.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3371, allocations: 0 / 479.9 MB, free: 7.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.3371, allocations: 0 / 479.9 MB, free: 7.09 MB / 362.7 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.00667/0.3438, allocations: 1.146 MB / 481 MB, free: 5.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3438, allocations: 8.031 kB / 481 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005415/0.3444, allocations: 67.53 kB / 481.1 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.3448, allocations: 310.3 kB / 481.4 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.3448, allocations: 28.66 kB / 481.4 MB, free: 5.449 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.3449, allocations: 32 kB / 481.4 MB, free: 5.418 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008492/0.3457, allocations: 463.7 kB / 481.9 MB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3458, allocations: 4 kB / 481.9 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.3458, allocations: 16 kB / 481.9 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3458, allocations: 11.94 kB / 481.9 MB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.3465, allocations: 386.3 kB / 482.3 MB, free: 4.52 MB / 362.7 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.003444/0.3499, allocations: 2.949 MB / 485.3 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.3505, allocations: 286.8 kB / 485.5 MB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.3507, allocations: 132.8 kB / 485.7 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002234/0.353, allocations: 2.478 MB / 488.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.353, allocations: 34.56 kB / 488.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.353, allocations: 4 kB / 488.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004771/0.3578, allocations: 1.293 MB / 489.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.3579, allocations: 59.41 kB / 489.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.3581, allocations: 266.5 kB / 489.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3582, allocations: 33.7 kB / 489.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3583, allocations: 188 kB / 490 MB, free: 11.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/0.3584, allocations: 122.2 kB / 490.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.3585, allocations: 82.12 kB / 490.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3586, allocations: 342.8 kB / 490.5 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.3588, allocations: 112.8 kB / 490.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.3591, allocations: 222.1 kB / 490.9 MB, free: 11.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.3596, allocations: 385.4 kB / 491.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3596, allocations: 0 / 491.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007695/0.3604, allocations: 454.6 kB / 491.7 MB, free: 10.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3604, allocations: 8 kB / 491.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3604, allocations: 7.984 kB / 491.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004334/0.3648, allocations: 233.9 kB / 491.9 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.3651, allocations: 99.7 kB / 492 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.3665, allocations: 1.836 MB / 493.9 MB, free: 7.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.3668, allocations: 32.08 kB / 493.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.3669, allocations: 16 kB / 493.9 MB, free: 7.758 MB / 378.7 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.0002138/0.3671, allocations: 173.6 kB / 494.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.3672, allocations: 31.62 kB / 494.1 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.3682, allocations: 0.6905 MB / 494.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.3682, allocations: 4 kB / 494.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.3682, allocations: 0 / 494.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00078/0.369, allocations: 0.8596 MB / 495.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.3704, allocations: 1.202 MB / 496.9 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3704, allocations: 4.062 kB / 496.9 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.3707, allocations: 63.91 kB / 496.9 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.3721, allocations: 172.6 kB / 497.1 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3722, allocations: 15.94 kB / 497.1 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003108/0.3725, allocations: 0.5719 MB / 497.7 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/0.3725, allocations: 4.031 kB / 497.7 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.176/0.5486, allocations: 12.01 MB / 0.4978 GB, free: 101.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.5487, allocations: 111.5 kB / 0.4979 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.5487, allocations: 19.81 kB / 0.4979 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.5489, allocations: 15.31 kB / 0.4979 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.549, allocations: 29.25 kB / 0.4979 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.549, allocations: 11.88 kB / 0.4979 GB, free: 101.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.5492, allocations: 218.7 kB / 0.4981 GB, free: 101 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.5492, allocations: 3.281 kB / 0.4982 GB, free: 101 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007218/0.5564, allocations: 1.459 MB / 0.4996 GB, free: 100.9 MB / 378.7 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.0461/0.6025, allocations: 9.892 MB / 0.5092 GB, free: 96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008247/0.6034, allocations: 475.7 kB / 0.5097 GB, free: 95.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.6034, allocations: 0 / 0.5097 GB, free: 95.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.6037, allocations: 228 kB / 0.5099 GB, free: 95.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6048, allocations: 175.5 kB / 0.5101 GB, free: 95.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.6075, allocations: 1.571 MB / 0.5116 GB, free: 93.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.6077, allocations: 0.8207 MB / 0.5124 GB, free: 92.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003674/0.6081, allocations: 211.4 kB / 0.5126 GB, free: 92.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.6082, allocations: 39.44 kB / 0.5127 GB, free: 92.46 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6082, allocations: 0 / 0.5127 GB, free: 92.46 MB / 378.7 MB Notification: Performance of Templates: time 0.04497/0.6532, allocations: 47.75 MB / 0.5593 GB, free: 44.67 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)