Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001063/0.001063, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001242/0.001242, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.375/1.375, allocations: 205.4 MB / 223.4 MB, free: 5.293 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.0004819/0.0004819, allocations: 12 kB / 280.1 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 47.6 MB / 327.7 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02515/0.2584, allocations: 24.6 MB / 352.3 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02596/0.2844, allocations: 22.85 MB / 375.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005233/0.285, allocations: 4 kB / 375.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009311/0.286, allocations: 222.8 kB / 375.4 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009792/0.287, allocations: 346.1 kB / 375.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00977/0.2967, allocations: 2.996 MB / 378.7 MB, free: 352 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.2983, allocations: 1.161 MB / 379.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.2985, allocations: 81.02 kB / 380 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006992/0.2992, allocations: 338.7 kB / 380.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004528/0.2996, allocations: 290.8 kB / 380.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.2997, allocations: 16 kB / 380.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05739/0.3571, allocations: 40.21 MB / 420.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.3574, allocations: 79.7 kB / 420.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.3576, allocations: 105.6 kB / 421 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02389/0.3815, allocations: 10.68 MB / 431.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3815, allocations: 4 kB / 431.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3815, allocations: 3.938 kB / 431.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3815, allocations: 0 / 431.7 MB, free: 11.33 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.006655/0.3882, allocations: 1.065 MB / 432.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3883, allocations: 12.03 kB / 432.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005408/0.3888, allocations: 67.45 kB / 432.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.3892, allocations: 310.4 kB / 433.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3893, allocations: 28.66 kB / 433.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.3893, allocations: 35.98 kB / 433.2 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/0.3902, allocations: 455.8 kB / 433.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3902, allocations: 15.88 kB / 433.7 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.3902, allocations: 16 kB / 433.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3903, allocations: 8 kB / 433.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006966/0.391, allocations: 382.3 kB / 434.1 MB, free: 8.836 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.003162/0.3941, allocations: 2.933 MB / 437 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.3948, allocations: 302.7 kB / 437.3 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.395, allocations: 129.3 kB / 437.4 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002319/0.3973, allocations: 2.536 MB / 439.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3974, allocations: 42.5 kB / 440 MB, free: 2.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.904e-06/0.3974, allocations: 7.938 kB / 440 MB, free: 2.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.004853/0.4022, allocations: 1.273 MB / 441.3 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.4023, allocations: 59.39 kB / 441.3 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.4026, allocations: 258.5 kB / 441.6 MB, free: 468 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.4026, allocations: 33.7 kB / 441.6 MB, free: 428 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4027, allocations: 184.1 kB / 441.8 MB, free: 240 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.4028, allocations: 126.3 kB / 441.9 MB, free: 112 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.4028, allocations: 8 kB / 441.9 MB, free: 104 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.403, allocations: 342.8 kB / 442.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.4032, allocations: 108.8 kB / 442.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.4034, allocations: 234 kB / 442.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.4037, allocations: 151.9 kB / 442.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4037, allocations: 3.938 kB / 442.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007791/0.4045, allocations: 454.6 kB / 443.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4045, allocations: 6.969 kB / 443.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4045, allocations: 4 kB / 443.2 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004143/0.4087, allocations: 245.8 kB / 443.4 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.409, allocations: 87.89 kB / 443.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.4104, allocations: 1.84 MB / 445.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.4107, allocations: 39.77 kB / 445.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.4107, allocations: 24.16 kB / 445.4 MB, free: 12.36 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.0001826/0.4109, allocations: 157.8 kB / 445.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.411, allocations: 35.61 kB / 445.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.412, allocations: 0.6927 MB / 446.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.412, allocations: 15.94 kB / 446.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.412, allocations: 0 / 446.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008094/0.4129, allocations: 0.8479 MB / 447.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.4142, allocations: 1.19 MB / 448.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4142, allocations: 0 / 448.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.4145, allocations: 79.91 kB / 448.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.4159, allocations: 176.6 kB / 448.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.4159, allocations: 15.98 kB / 448.6 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000312/0.4163, allocations: 0.5718 MB / 449.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4163, allocations: 0 / 449.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/0.4171, allocations: 0.7376 MB / 449.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/0.4172, allocations: 124.7 kB / 450.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.4173, allocations: 12 kB / 450.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.4175, allocations: 19.92 kB / 450.1 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.4176, allocations: 27.72 kB / 450.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4176, allocations: 12 kB / 450.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.4178, allocations: 217.9 kB / 450.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.4178, allocations: 0 / 450.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004487/0.4223, allocations: 0.7457 MB / 451.1 MB, free: 6.465 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.03457/0.4569, allocations: 6.393 MB / 457.5 MB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1725/0.6294, allocations: 470.2 kB / 457.9 MB, free: 111 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.6295, allocations: 1.125 kB / 457.9 MB, free: 111 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.6299, allocations: 223.1 kB / 458.2 MB, free: 111 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.6311, allocations: 183.6 kB / 458.3 MB, free: 110.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.6327, allocations: 1.084 MB / 459.4 MB, free: 110.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.6329, allocations: 0.8064 MB / 460.2 MB, free: 109.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00038/0.6333, allocations: 197.6 kB / 460.4 MB, free: 109.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.6334, allocations: 36.69 kB / 460.5 MB, free: 109.8 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6334, allocations: 3.844 kB / 460.5 MB, free: 109.8 MB / 382.1 MB Notification: Performance of Templates: time 0.03268/0.6661, allocations: 28.2 MB / 488.7 MB, free: 88.06 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)