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.0008843/0.0008843, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.00088/0.0008801, allocations: 172.7 kB / 15.95 MB, free: 208 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.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004619/0.0004619, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 47.58 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02508/0.2503, allocations: 24.6 MB / 351.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02677/0.2771, allocations: 22.84 MB / 373.9 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.2776, allocations: 7.938 kB / 373.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007069/0.2783, allocations: 222.8 kB / 374.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007913/0.2791, allocations: 342.2 kB / 374.5 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009419/0.2885, allocations: 2.996 MB / 377.5 MB, free: 380 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001468/0.29, allocations: 1.173 MB / 378.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.2902, allocations: 77.03 kB / 378.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007392/0.291, allocations: 350.7 kB / 379.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.2916, allocations: 294.8 kB / 379.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.123e-05/0.2916, allocations: 16 kB / 379.4 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07132/0.363, allocations: 40.21 MB / 419.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.3633, allocations: 79.72 kB / 419.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.3636, allocations: 109.5 kB / 419.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03545/0.3991, allocations: 10.68 MB / 430.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3991, allocations: 3.938 kB / 430.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3991, allocations: 4 kB / 430.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3991, allocations: 0 / 430.4 MB, free: 11.34 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.006346/0.4055, allocations: 1.061 MB / 431.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4056, allocations: 15.97 kB / 431.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004957/0.4061, allocations: 75.44 kB / 431.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.4064, allocations: 306.4 kB / 431.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.4065, allocations: 32.64 kB / 431.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.093e-05/0.4065, allocations: 36 kB / 432 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.4074, allocations: 451.8 kB / 432.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.4074, allocations: 3.984 kB / 432.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.4074, allocations: 20 kB / 432.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4074, allocations: 8 kB / 432.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006702/0.4081, allocations: 382.3 kB / 432.8 MB, free: 8.852 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.003028/0.4112, allocations: 2.941 MB / 435.7 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.4117, allocations: 290.8 kB / 436 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.412, allocations: 133.3 kB / 436.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.4141, allocations: 2.533 MB / 438.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4142, allocations: 38.56 kB / 438.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 3.267e-06/0.4142, allocations: 4 kB / 438.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00472/0.4189, allocations: 1.289 MB / 440 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.419, allocations: 51.41 kB / 440.1 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.4192, allocations: 266.5 kB / 440.3 MB, free: 480 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.4192, allocations: 29.7 kB / 440.4 MB, free: 444 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4194, allocations: 188 kB / 440.5 MB, free: 252 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.4194, allocations: 118.3 kB / 440.7 MB, free: 132 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.4195, allocations: 16 kB / 440.7 MB, free: 116 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4196, allocations: 338.8 kB / 441 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.4198, allocations: 112.8 kB / 441.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.4201, allocations: 230 kB / 441.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.4203, allocations: 147.9 kB / 441.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4203, allocations: 0 / 441.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007469/0.4211, allocations: 462.6 kB / 441.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4211, allocations: 8 kB / 441.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.4211, allocations: 4 kB / 441.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003953/0.4251, allocations: 229.4 kB / 442.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.4254, allocations: 96.2 kB / 442.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.4269, allocations: 1.844 MB / 444.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.4272, allocations: 31.83 kB / 444.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.4272, allocations: 20 kB / 444.2 MB, free: 12.39 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.0002267/0.4275, allocations: 169.8 kB / 444.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.4276, allocations: 31.62 kB / 444.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.4286, allocations: 0.6967 MB / 445 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.4286, allocations: 7.953 kB / 445.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4286, allocations: 0 / 445.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008976/0.4295, allocations: 0.8595 MB / 445.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.4309, allocations: 1.194 MB / 447.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.4309, allocations: 3.938 kB / 447.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.4312, allocations: 67.92 kB / 447.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.4326, allocations: 180.5 kB / 447.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.4326, allocations: 12 kB / 447.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003545/0.433, allocations: 0.5718 MB / 447.9 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.433, allocations: 0 / 447.9 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.4339, allocations: 0.7336 MB / 448.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.434, allocations: 128.6 kB / 448.8 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.434, allocations: 4.156 kB / 448.8 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4343, allocations: 27.92 kB / 448.8 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.4343, allocations: 23.72 kB / 448.9 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.4343, allocations: 15.98 kB / 448.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002327/0.4346, allocations: 218 kB / 449.1 MB, free: 7.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4346, allocations: 0 / 449.1 MB, free: 7.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004299/0.4389, allocations: 0.734 MB / 449.8 MB, free: 6.492 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.0349/0.4738, allocations: 6.393 MB / 456.2 MB, free: 76 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1699/0.6437, allocations: 470 kB / 456.7 MB, free: 111.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6438, allocations: 0.5 kB / 456.7 MB, free: 111.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.6443, allocations: 223.9 kB / 456.9 MB, free: 111.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.6455, allocations: 186.9 kB / 457.1 MB, free: 111.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.6473, allocations: 1.087 MB / 458.2 MB, free: 110.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.6476, allocations: 0.8038 MB / 459 MB, free: 110.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005027/0.6481, allocations: 193.8 kB / 459.2 MB, free: 110.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.6482, allocations: 39.88 kB / 459.2 MB, free: 110.1 MB / 382.1 MB Notification: Performance of SimCode: time 9.91e-07/0.6483, allocations: 0 / 459.2 MB, free: 110.1 MB / 382.1 MB Notification: Performance of Templates: time 0.03606/0.6843, allocations: 28.21 MB / 487.4 MB, free: 88.4 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)