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.001402/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001071/0.001071, allocations: 191.5 kB / 16.14 MB, free: 6.707 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.358/1.358, allocations: 205.1 MB / 222 MB, free: 4.758 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.001165/0.001165, allocations: 51.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2125, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0269/0.2395, allocations: 26.32 MB / 351 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02598/0.2655, allocations: 25.63 MB / 376.6 MB, free: 36 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00039/0.2659, allocations: 7.938 kB / 376.6 MB, free: 28 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008585/0.2668, allocations: 250.8 kB / 376.9 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007319/0.2676, allocations: 354.2 kB / 377.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.2777, allocations: 3.245 MB / 380.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.2793, allocations: 1.391 MB / 381.9 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/0.2795, allocations: 85.02 kB / 381.9 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.2801, allocations: 334.7 kB / 382.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.2805, allocations: 314.8 kB / 382.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.974e-05/0.2805, allocations: 20 kB / 382.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04298/0.3235, allocations: 27.65 MB / 410.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002813/0.3239, allocations: 99.64 kB / 410.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.3243, allocations: 207.1 kB / 410.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05647/0.3808, allocations: 20.16 MB / 430.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.3808, allocations: 0 / 430.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3808, allocations: 0 / 430.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.3808, allocations: 0 / 430.7 MB, free: 9.734 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.006576/0.3874, allocations: 1.142 MB / 431.9 MB, free: 8.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3875, allocations: 8.031 kB / 431.9 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005687/0.3881, allocations: 71.53 kB / 431.9 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.3884, allocations: 314.3 kB / 432.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.3885, allocations: 24.66 kB / 432.3 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.3885, allocations: 32 kB / 432.3 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000864/0.3894, allocations: 459.8 kB / 432.7 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.3894, allocations: 4 kB / 432.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.3895, allocations: 19.98 kB / 432.8 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.3895, allocations: 11.94 kB / 432.8 MB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006959/0.3902, allocations: 382.3 kB / 433.1 MB, free: 7.168 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.00336/0.3936, allocations: 2.941 MB / 436.1 MB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.3942, allocations: 294.8 kB / 436.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.3944, allocations: 136.8 kB / 436.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002352/0.3968, allocations: 2.478 MB / 439 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.3968, allocations: 38.56 kB / 439 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.334e-06/0.3969, allocations: 0 / 439 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005329/0.4022, allocations: 1.289 MB / 440.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.4022, allocations: 55.41 kB / 440.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.4025, allocations: 266.4 kB / 440.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.4026, allocations: 37.7 kB / 440.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.4027, allocations: 188.1 kB / 440.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.4028, allocations: 122.2 kB / 441 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.4029, allocations: 86.12 kB / 441.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.403, allocations: 338.8 kB / 441.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.4032, allocations: 108.8 kB / 441.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.4035, allocations: 226.1 kB / 441.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.404, allocations: 381.5 kB / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.404, allocations: 0 / 442.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008733/0.4049, allocations: 458.7 kB / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.4049, allocations: 10.66 kB / 442.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4049, allocations: 7.938 kB / 442.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004989/0.4099, allocations: 229.4 kB / 442.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.4103, allocations: 92.16 kB / 442.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.4116, allocations: 1.84 MB / 444.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.4119, allocations: 27.89 kB / 444.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.412, allocations: 23.98 kB / 444.8 MB, free: 10.4 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.0001941/0.4122, allocations: 169.8 kB / 444.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.4122, allocations: 31.62 kB / 445 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.4133, allocations: 0.6857 MB / 445.6 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.4133, allocations: 7.984 kB / 445.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4133, allocations: 7.938 kB / 445.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008079/0.4141, allocations: 0.8596 MB / 446.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.4156, allocations: 1.191 MB / 447.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4156, allocations: 0 / 447.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.4159, allocations: 63.91 kB / 447.8 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.4177, allocations: 176.6 kB / 447.9 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.4177, allocations: 12 kB / 448 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003751/0.4181, allocations: 0.5797 MB / 448.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4181, allocations: 0 / 448.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009488/0.4191, allocations: 0.729 MB / 449.3 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/0.4192, allocations: 116.7 kB / 449.4 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.4192, allocations: 12 kB / 449.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.4195, allocations: 24 kB / 449.4 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.4195, allocations: 31.66 kB / 449.4 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.4195, allocations: 11.98 kB / 449.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.4198, allocations: 221.9 kB / 449.7 MB, free: 5.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4198, allocations: 0 / 449.7 MB, free: 5.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004706/0.4245, allocations: 0.734 MB / 450.4 MB, free: 4.523 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.1806/0.6051, allocations: 6.389 MB / 456.8 MB, free: 110.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.6063, allocations: 477.4 kB / 457.3 MB, free: 110.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6063, allocations: 0 / 457.3 MB, free: 110.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003849/0.6067, allocations: 227.2 kB / 457.5 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.001129/0.6078, allocations: 192.8 kB / 457.7 MB, free: 110.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.6093, allocations: 1.046 MB / 458.7 MB, free: 109.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.6095, allocations: 0.8084 MB / 459.5 MB, free: 109.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003843/0.6099, allocations: 192.4 kB / 459.7 MB, free: 109.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.61, allocations: 40.09 kB / 459.7 MB, free: 109.1 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.61, allocations: 0 / 459.7 MB, free: 109.1 MB / 382.1 MB Notification: Performance of Templates: time 0.03352/0.6435, allocations: 28.59 MB / 488.3 MB, free: 86.64 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)