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.001229/0.001229, allocations: 100 kB / 15.05 MB, free: 1.105 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.001592/0.001592, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0005015/0.0005016, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2218, allocations: 47.59 MB / 326.4 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02543/0.2473, allocations: 22.55 MB / 349 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0213/0.2686, allocations: 20.78 MB / 369.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.269, allocations: 4 kB / 369.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.2697, allocations: 243 kB / 370 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005403/0.2703, allocations: 259.3 kB / 370.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008431/0.2787, allocations: 3.101 MB / 373.4 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.2799, allocations: 0.5311 MB / 373.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.2801, allocations: 85.02 kB / 374 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005336/0.2807, allocations: 287.1 kB / 374.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.2809, allocations: 191.2 kB / 374.4 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.281, allocations: 19.94 kB / 374.5 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05992/0.3409, allocations: 53.56 MB / 428 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.3412, allocations: 87.72 kB / 428.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.3414, allocations: 109.5 kB / 428.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02862/0.37, allocations: 10.64 MB / 438.9 MB, free: 2.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3701, allocations: 0 / 438.9 MB, free: 2.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3701, allocations: 3.938 kB / 438.9 MB, free: 2.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3701, allocations: 0 / 438.9 MB, free: 2.938 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.005608/0.3757, allocations: 1.057 MB / 439.9 MB, free: 1.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3758, allocations: 8.031 kB / 439.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/0.3763, allocations: 79.45 kB / 440 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.3767, allocations: 318.3 kB / 440.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.3767, allocations: 24.66 kB / 440.3 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.3768, allocations: 32 kB / 440.4 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008063/0.3776, allocations: 459.8 kB / 440.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3776, allocations: 0 / 440.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.3777, allocations: 12 kB / 440.8 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3777, allocations: 8 kB / 440.8 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.3784, allocations: 390.2 kB / 441.2 MB, free: 464 kB / 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.003501/0.3819, allocations: 2.953 MB / 444.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.3825, allocations: 282.8 kB / 444.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002378/0.3849, allocations: 2.549 MB / 447 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.385, allocations: 42.56 kB / 447 MB, free: 9.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.385, allocations: 0 / 447 MB, free: 9.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004929/0.3899, allocations: 1.285 MB / 448.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.3899, allocations: 55.41 kB / 448.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.3902, allocations: 262.5 kB / 448.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.3902, allocations: 29.7 kB / 448.7 MB, free: 8.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3904, allocations: 196 kB / 448.8 MB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/0.3905, allocations: 118.3 kB / 449 MB, free: 7.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.3905, allocations: 4 kB / 449 MB, free: 7.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3906, allocations: 350.8 kB / 449.3 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.3908, allocations: 108.8 kB / 449.4 MB, free: 7.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.3911, allocations: 222.1 kB / 449.6 MB, free: 7.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3913, allocations: 155.9 kB / 449.8 MB, free: 6.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3913, allocations: 0 / 449.8 MB, free: 6.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007499/0.3921, allocations: 454.5 kB / 450.2 MB, free: 6.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3921, allocations: 8 kB / 450.2 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3921, allocations: 4 kB / 450.2 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004561/0.3967, allocations: 241.9 kB / 450.5 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.397, allocations: 91.83 kB / 450.6 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.3985, allocations: 1.84 MB / 452.4 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.3988, allocations: 36.11 kB / 452.4 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.3988, allocations: 23.94 kB / 452.5 MB, free: 4.102 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 (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 prepare postOptimizeDAE: time 0.0001988/0.399, allocations: 161.7 kB / 452.6 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.3991, allocations: 35.61 kB / 452.7 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.4001, allocations: 0.7005 MB / 453.4 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.4001, allocations: 7.953 kB / 453.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.4001, allocations: 0 / 453.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007728/0.4009, allocations: 0.8596 MB / 454.2 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.4023, allocations: 1.198 MB / 455.4 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4023, allocations: 0 / 455.4 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.4026, allocations: 63.91 kB / 455.5 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.4041, allocations: 176.5 kB / 455.7 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.4042, allocations: 15.98 kB / 455.7 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003251/0.4045, allocations: 0.5679 MB / 456.2 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4045, allocations: 4.062 kB / 456.2 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1639/0.5684, allocations: 0.731 MB / 457 MB, free: 111.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.5686, allocations: 128 kB / 457.1 MB, free: 111.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.5687, allocations: 8.266 kB / 457.1 MB, free: 111.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.5689, allocations: 22.5 kB / 457.1 MB, free: 111.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.569, allocations: 23.86 kB / 457.2 MB, free: 111.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.5691, allocations: 11.41 kB / 457.2 MB, free: 111.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.5694, allocations: 219.4 kB / 457.4 MB, free: 111.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5694, allocations: 0 / 457.4 MB, free: 111.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004998/0.5744, allocations: 0.7416 MB / 458.1 MB, free: 111.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03431/0.6087, allocations: 6.384 MB / 464.5 MB, free: 108.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009137/0.6097, allocations: 490.6 kB / 465 MB, free: 108.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6097, allocations: 0 / 465 MB, free: 108.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.61, allocations: 211.1 kB / 465.2 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.6111, allocations: 186.9 kB / 465.4 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.6124, allocations: 1.082 MB / 466.5 MB, free: 107.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.6126, allocations: 0.8112 MB / 467.3 MB, free: 107 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003364/0.6129, allocations: 201.5 kB / 467.5 MB, free: 107 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.613, allocations: 43.59 kB / 467.5 MB, free: 107 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.613, allocations: 0 / 467.5 MB, free: 107 MB / 382.1 MB Notification: Performance of Templates: time 0.03182/0.6448, allocations: 28.18 MB / 495.7 MB, free: 80.45 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: