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.0008312/0.0008312, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008746/0.0008746, allocations: 168.7 kB / 15.95 MB, free: 204 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.415/1.415, allocations: 205.4 MB / 222.1 MB, free: 5.387 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.0004956/0.0004958, allocations: 16 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2562, allocations: 47.59 MB / 326.5 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02985/0.2861, allocations: 24.6 MB / 351.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02726/0.3134, allocations: 22.85 MB / 373.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.3139, allocations: 0 / 373.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008606/0.3148, allocations: 226.8 kB / 374.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.3159, allocations: 342.2 kB / 374.5 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.3261, allocations: 3.003 MB / 377.5 MB, free: 356 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.3277, allocations: 1.169 MB / 378.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.3279, allocations: 77.03 kB / 378.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008812/0.3288, allocations: 338.7 kB / 379 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005985/0.3294, allocations: 298.8 kB / 379.3 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.3295, allocations: 16 kB / 379.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06139/0.3909, allocations: 40.21 MB / 419.6 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.3912, allocations: 75.72 kB / 419.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.3915, allocations: 109.6 kB / 419.8 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02839/0.4199, allocations: 10.68 MB / 430.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.42, allocations: 0 / 430.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.42, allocations: 4 kB / 430.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.42, allocations: 0 / 430.4 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.006182/0.4262, allocations: 1.068 MB / 431.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4263, allocations: 12.03 kB / 431.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/0.4268, allocations: 67.45 kB / 431.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.4272, allocations: 318.3 kB / 431.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.4273, allocations: 24.66 kB / 431.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.4273, allocations: 36 kB / 431.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008786/0.4282, allocations: 459.8 kB / 432.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.4283, allocations: 11.88 kB / 432.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.4283, allocations: 20 kB / 432.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.4283, allocations: 8 kB / 432.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007255/0.4291, allocations: 382.3 kB / 432.8 MB, free: 8.828 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.003279/0.4323, allocations: 2.929 MB / 435.7 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.433, allocations: 294.8 kB / 436 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.4332, allocations: 133.3 kB / 436.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/0.4355, allocations: 2.533 MB / 438.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.4356, allocations: 46.48 kB / 438.7 MB, free: 2.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.4356, allocations: 7.938 kB / 438.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.005045/0.4406, allocations: 1.277 MB / 440 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.4407, allocations: 55.41 kB / 440.1 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.441, allocations: 258.5 kB / 440.3 MB, free: 468 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.441, allocations: 33.7 kB / 440.4 MB, free: 428 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.4412, allocations: 184.1 kB / 440.5 MB, free: 240 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.116e-05/0.4413, allocations: 122.3 kB / 440.7 MB, free: 116 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.4413, allocations: 12 kB / 440.7 MB, free: 104 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4415, allocations: 342.8 kB / 441 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.4417, allocations: 112.8 kB / 441.1 MB, free: 15.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.4419, allocations: 230 kB / 441.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.4422, allocations: 151.9 kB / 441.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4422, allocations: 3.938 kB / 441.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008013/0.443, allocations: 458.7 kB / 441.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.443, allocations: 4 kB / 441.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4431, allocations: 4 kB / 441.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/0.4472, allocations: 241.7 kB / 442.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.4475, allocations: 87.91 kB / 442.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.4492, allocations: 1.84 MB / 444.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.4496, allocations: 39.89 kB / 444.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.4496, allocations: 23.98 kB / 444.2 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.0002378/0.4499, allocations: 161.9 kB / 444.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.45, allocations: 27.62 kB / 444.4 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.4511, allocations: 0.7005 MB / 445.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.4511, allocations: 7.953 kB / 445.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4511, allocations: 4 kB / 445.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008661/0.452, allocations: 0.8518 MB / 445.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.4536, allocations: 1.19 MB / 447.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4536, allocations: 0 / 447.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.4539, allocations: 71.86 kB / 447.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.4554, allocations: 180.5 kB / 447.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.4554, allocations: 12 kB / 447.4 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003408/0.4558, allocations: 0.5718 MB / 447.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4558, allocations: 0 / 447.9 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009138/0.4567, allocations: 0.7337 MB / 448.7 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.4569, allocations: 124.5 kB / 448.8 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.4569, allocations: 12.16 kB / 448.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.4572, allocations: 19.92 kB / 448.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.4572, allocations: 31.66 kB / 448.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.4573, allocations: 15.98 kB / 448.9 MB, free: 7.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.4576, allocations: 218 kB / 449.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4576, allocations: 0 / 449.1 MB, free: 7.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004723/0.4623, allocations: 0.7379 MB / 449.8 MB, free: 6.473 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.03538/0.4977, allocations: 6.393 MB / 456.2 MB, free: 56 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1549/0.6527, allocations: 469.5 kB / 456.7 MB, free: 110.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6527, allocations: 0.5625 kB / 456.7 MB, free: 110.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.6532, allocations: 224.2 kB / 456.9 MB, free: 110.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.6544, allocations: 186.4 kB / 457.1 MB, free: 110.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.6563, allocations: 1.084 MB / 458.2 MB, free: 110.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.6566, allocations: 0.8058 MB / 459 MB, free: 109.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004824/0.6571, allocations: 193.4 kB / 459.2 MB, free: 109.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.6572, allocations: 41.42 kB / 459.2 MB, free: 109.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.6572, allocations: 0 / 459.2 MB, free: 109.8 MB / 382.1 MB Notification: Performance of Templates: time 0.03464/0.6918, allocations: 28.21 MB / 487.4 MB, free: 88.07 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)