Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001065/0.001065, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008476/0.008476, allocations: 173 kB / 16.26 MB, free: 6.613 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.457/1.457, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.0004741/0.0004741, allocations: 16 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2258, allocations: 47.58 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03053/0.2564, allocations: 25.72 MB / 352.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02727/0.2837, allocations: 25.23 MB / 378 MB, free: 252 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005306/0.2843, allocations: 4 kB / 378 MB, free: 248 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.2851, allocations: 254.8 kB / 378.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.286, allocations: 350.1 kB / 378.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01/0.296, allocations: 3.241 MB / 381.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.2976, allocations: 1.395 MB / 383.2 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.2979, allocations: 81.03 kB / 383.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007105/0.2986, allocations: 338.6 kB / 383.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.299, allocations: 310.8 kB / 383.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.2991, allocations: 19.94 kB / 383.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0389/0.338, allocations: 27.65 MB / 411.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.3383, allocations: 83.67 kB / 411.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.3387, allocations: 228.8 kB / 411.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04485/0.3836, allocations: 20.12 MB / 432 MB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3836, allocations: 0 / 432 MB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3836, allocations: 0 / 432 MB, free: 9.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.3837, allocations: 4 kB / 432 MB, free: 9.977 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.007869/0.3916, allocations: 1.057 MB / 433.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.3916, allocations: 12.03 kB / 433.1 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006283/0.3923, allocations: 75.44 kB / 433.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.3928, allocations: 318.3 kB / 433.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.3928, allocations: 20.66 kB / 433.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.3929, allocations: 32 kB / 433.5 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009506/0.3938, allocations: 467.7 kB / 434 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3939, allocations: 4 kB / 434 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.3939, allocations: 12 kB / 434 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.3939, allocations: 11.94 kB / 434 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007915/0.3947, allocations: 386.3 kB / 434.4 MB, free: 7.484 MB / 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.00356/0.3983, allocations: 2.957 MB / 437.3 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006656/0.399, allocations: 282.8 kB / 437.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.3992, allocations: 132.8 kB / 437.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002599/0.4018, allocations: 2.54 MB / 440.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4019, allocations: 38.56 kB / 440.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 3.657e-06/0.4019, allocations: 0 / 440.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005239/0.4071, allocations: 1.297 MB / 441.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.4072, allocations: 55.41 kB / 441.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.4075, allocations: 262.6 kB / 441.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.4075, allocations: 29.7 kB / 442 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.4077, allocations: 195.9 kB / 442.2 MB, free: 14.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.588e-05/0.4078, allocations: 122.3 kB / 442.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.4078, allocations: 37.7 kB / 442.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.408, allocations: 338.8 kB / 442.6 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.4082, allocations: 116.8 kB / 442.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.4084, allocations: 230 kB / 443 MB, free: 13.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.409, allocations: 377.5 kB / 443.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.409, allocations: 3.938 kB / 443.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008362/0.4098, allocations: 458.5 kB / 443.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.4099, allocations: 8 kB / 443.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4099, allocations: 4 kB / 443.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004798/0.4147, allocations: 241.9 kB / 444 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.415, allocations: 91.77 kB / 444.1 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.4165, allocations: 1.844 MB / 446 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.4168, allocations: 28.17 kB / 446 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.4168, allocations: 20 kB / 446 MB, free: 10.68 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 (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.0001802/0.417, allocations: 165.6 kB / 446.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.4171, allocations: 35.62 kB / 446.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.4182, allocations: 0.6973 MB / 446.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4182, allocations: 7.984 kB / 446.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.4182, allocations: 64 / 446.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008563/0.4191, allocations: 0.8557 MB / 447.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.4206, allocations: 1.198 MB / 449 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.4206, allocations: 0 / 449 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.4209, allocations: 67.89 kB / 449 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.4226, allocations: 172.6 kB / 449.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.4226, allocations: 15.92 kB / 449.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003554/0.423, allocations: 0.5757 MB / 449.8 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.423, allocations: 0 / 449.8 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009699/0.4239, allocations: 0.7409 MB / 450.5 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.4241, allocations: 128.6 kB / 450.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.4241, allocations: 4 kB / 450.7 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.4244, allocations: 15.94 kB / 450.7 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.4244, allocations: 31.7 kB / 450.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.4244, allocations: 16.06 kB / 450.7 MB, free: 5.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.4247, allocations: 217.9 kB / 451 MB, free: 5.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4247, allocations: 4 kB / 451 MB, free: 5.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004264/0.429, allocations: 0.7418 MB / 451.7 MB, free: 4.773 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 (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.2019/0.6309, allocations: 6.374 MB / 458.1 MB, free: 110.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.6321, allocations: 486.6 kB / 458.5 MB, free: 110.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.6321, allocations: 2.156 kB / 458.5 MB, free: 110.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.6326, allocations: 225.7 kB / 458.8 MB, free: 110.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6339, allocations: 187.3 kB / 459 MB, free: 110.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.6355, allocations: 1.114 MB / 460.1 MB, free: 109.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.6358, allocations: 0.8059 MB / 460.9 MB, free: 109.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004528/0.6362, allocations: 204.2 kB / 461.1 MB, free: 109.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/0.6363, allocations: 38.22 kB / 461.1 MB, free: 109.1 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.6363, allocations: 0 / 461.1 MB, free: 109.1 MB / 382.1 MB Notification: Performance of Templates: time 0.03504/0.6714, allocations: 28.53 MB / 489.6 MB, free: 86.24 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)