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.0009858/0.000986, allocations: 91.98 kB / 16.65 MB, free: 6.535 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.001183/0.001183, allocations: 174.1 kB / 17.56 MB, free: 6.184 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.363/1.363, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.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.0004428/0.0004429, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.08306, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02491/0.108, allocations: 25.72 MB / 354 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0256/0.1336, allocations: 25.23 MB / 379.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.1341, allocations: 7.938 kB / 379.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007917/0.1349, allocations: 246.8 kB / 379.5 MB, free: 400 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007714/0.1357, allocations: 354.1 kB / 379.9 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.187/0.3227, allocations: 3.237 MB / 383.1 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.3245, allocations: 1.393 MB / 384.5 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.3247, allocations: 80.23 kB / 384.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.3253, allocations: 330.7 kB / 384.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004119/0.3257, allocations: 310 kB / 385.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.3257, allocations: 17.31 kB / 385.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03591/0.3617, allocations: 27.66 MB / 412.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.362, allocations: 81.58 kB / 412.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.3625, allocations: 232.8 kB / 413.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04551/0.408, allocations: 20.12 MB / 433.3 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.408, allocations: 4 kB / 433.3 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.408, allocations: 0 / 433.3 MB, free: 10 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.408, allocations: 0 / 433.3 MB, free: 10 MB / 350.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.006325/0.4144, allocations: 1.06 MB / 434.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4144, allocations: 8.031 kB / 434.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005745/0.415, allocations: 75.38 kB / 434.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/0.4155, allocations: 318.6 kB / 434.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4155, allocations: 24.34 kB / 434.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.4155, allocations: 28.81 kB / 434.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008758/0.4164, allocations: 466.1 kB / 435.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.4165, allocations: 6.891 kB / 435.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.4165, allocations: 15.75 kB / 435.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.4165, allocations: 14.19 kB / 435.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/0.4172, allocations: 383 kB / 435.7 MB, free: 7.902 MB / 350.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.003331/0.4206, allocations: 2.957 MB / 438.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.4213, allocations: 289.2 kB / 438.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.4215, allocations: 132.1 kB / 439 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002687/0.4242, allocations: 2.532 MB / 441.6 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4243, allocations: 37.81 kB / 441.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 4.167e-06/0.4243, allocations: 0 / 441.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005271/0.4295, allocations: 1.306 MB / 442.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.4296, allocations: 55.41 kB / 443 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.4299, allocations: 257.9 kB / 443.2 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.4299, allocations: 31.83 kB / 443.2 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.43, allocations: 186.4 kB / 443.4 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.4301, allocations: 122.8 kB / 443.5 MB, free: 156 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.4302, allocations: 44.55 kB / 443.6 MB, free: 124 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4303, allocations: 338 kB / 443.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.4305, allocations: 116 kB / 444 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.4308, allocations: 230.8 kB / 444.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.4312, allocations: 373.4 kB / 444.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4312, allocations: 3.094 kB / 444.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007946/0.432, allocations: 456.9 kB / 445.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4321, allocations: 8 kB / 445.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.4321, allocations: 4.438 kB / 445.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004832/0.4369, allocations: 242.1 kB / 445.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.4373, allocations: 93.11 kB / 445.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.4387, allocations: 1.845 MB / 447.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.439, allocations: 28.86 kB / 447.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.439, allocations: 20.38 kB / 447.3 MB, free: 12.65 MB / 366.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.000179/0.4392, allocations: 167.3 kB / 447.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.4393, allocations: 31.62 kB / 447.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.4403, allocations: 0.6962 MB / 448.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.4403, allocations: 7.984 kB / 448.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.4404, allocations: 0 / 448.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007851/0.4411, allocations: 0.8595 MB / 449.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.4426, allocations: 1.192 MB / 450.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.4426, allocations: 0 / 450.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.4428, allocations: 62.34 kB / 450.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/0.4445, allocations: 178.7 kB / 450.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.4445, allocations: 8.062 kB / 450.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003548/0.4449, allocations: 0.5845 MB / 451.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4449, allocations: 0 / 451.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.4458, allocations: 0.7395 MB / 451.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.4459, allocations: 132.1 kB / 451.9 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.4459, allocations: 8.125 kB / 452 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.4462, allocations: 18.25 kB / 452 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.4462, allocations: 31.77 kB / 452 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.4463, allocations: 11.94 kB / 452 MB, free: 8.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.4465, allocations: 225.6 kB / 452.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4465, allocations: 0 / 452.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004163/0.4507, allocations: 0.737 MB / 453 MB, free: 8.008 MB / 366.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.03477/0.4854, allocations: 6.393 MB / 459.4 MB, free: 1.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4865, allocations: 491.1 kB / 459.8 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.4865, allocations: 4 kB / 459.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.4869, allocations: 216.6 kB / 460.1 MB, free: 1.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.4882, allocations: 187 kB / 460.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.4898, allocations: 1.111 MB / 461.4 MB, free: 92 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.4902, allocations: 0.809 MB / 462.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.4906, allocations: 194.8 kB / 462.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.4907, allocations: 39 kB / 462.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4907, allocations: 0 / 462.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of Templates: time 0.04167/0.5324, allocations: 28.53 MB / 490.9 MB, free: 2.648 MB / 398.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)