Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009744/0.0009744, allocations: 90.45 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009141/0.0009142, allocations: 51.91 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1942, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01769/0.2119, allocations: 26.35 MB / 433.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02394/0.2359, allocations: 25.65 MB / 459 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.2362, allocations: 7.938 kB / 459 MB, free: 7.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007135/0.237, allocations: 250.8 kB / 459.3 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006446/0.2376, allocations: 354.2 kB / 459.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008809/0.2465, allocations: 3.239 MB / 462.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.2479, allocations: 1.403 MB / 464.3 MB, free: 2.387 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.2481, allocations: 89 kB / 464.4 MB, free: 2.297 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.2486, allocations: 338.7 kB / 464.7 MB, free: 1.965 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.2489, allocations: 314.7 kB / 465 MB, free: 1.656 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.249, allocations: 20 kB / 465 MB, free: 1.637 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04155/0.2905, allocations: 27.67 MB / 492.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.2909, allocations: 95.7 kB / 492.8 MB, free: 5.754 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004771/0.2914, allocations: 211.1 kB / 493 MB, free: 5.547 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.07877/0.3702, allocations: 20.16 MB / 0.5011 GB, free: 1.324 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.3703, allocations: 0 / 0.5011 GB, free: 1.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3703, allocations: 0 / 0.5011 GB, free: 1.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3703, allocations: 0 / 0.5011 GB, free: 1.324 MB / 378.7 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.007854/0.3782, allocations: 1.131 MB / 0.5022 GB, free: 148 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3783, allocations: 12.03 kB / 0.5022 GB, free: 136 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/0.3793, allocations: 71.53 kB / 0.5023 GB, free: 64 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1778/0.5571, allocations: 316.7 kB / 0.5026 GB, free: 91.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.5572, allocations: 23.59 kB / 0.5026 GB, free: 91.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/0.5572, allocations: 31.78 kB / 0.5027 GB, free: 91.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009787/0.5582, allocations: 462 kB / 0.5031 GB, free: 91.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5582, allocations: 5.531 kB / 0.5031 GB, free: 91.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.5583, allocations: 16.22 kB / 0.5031 GB, free: 91.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.5583, allocations: 9.406 kB / 0.5031 GB, free: 91.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007683/0.5591, allocations: 389.3 kB / 0.5035 GB, free: 91.1 MB / 378.7 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.003193/0.5623, allocations: 2.937 MB / 0.5064 GB, free: 88.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.5629, allocations: 305.9 kB / 0.5067 GB, free: 88.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.5631, allocations: 138.6 kB / 0.5068 GB, free: 88.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001755/0.5649, allocations: 2.47 MB / 0.5092 GB, free: 86.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.5649, allocations: 36.59 kB / 0.5092 GB, free: 86.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.445e-06/0.5649, allocations: 0 / 0.5092 GB, free: 86.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004715/0.5697, allocations: 1.288 MB / 0.5105 GB, free: 85.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.5697, allocations: 63.06 kB / 0.5106 GB, free: 85.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.57, allocations: 267.8 kB / 0.5108 GB, free: 85.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.57, allocations: 31.8 kB / 0.5108 GB, free: 85.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.5701, allocations: 184.3 kB / 0.511 GB, free: 84.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.5702, allocations: 118.2 kB / 0.5111 GB, free: 84.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.5703, allocations: 86.34 kB / 0.5112 GB, free: 84.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.019e-05/0.5704, allocations: 344.2 kB / 0.5115 GB, free: 84.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.5706, allocations: 108.9 kB / 0.5116 GB, free: 84.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.5709, allocations: 228.6 kB / 0.5119 GB, free: 84.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.5714, allocations: 377 kB / 0.5122 GB, free: 84.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5714, allocations: 1.344 kB / 0.5122 GB, free: 84.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007415/0.5722, allocations: 455.1 kB / 0.5127 GB, free: 83.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5722, allocations: 6.875 kB / 0.5127 GB, free: 83.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5722, allocations: 2.75 kB / 0.5127 GB, free: 83.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004631/0.5769, allocations: 238.4 kB / 0.5129 GB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.5772, allocations: 90.75 kB / 0.513 GB, free: 83.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008731/0.578, allocations: 1.847 MB / 0.5148 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.5783, allocations: 26.31 kB / 0.5148 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.5783, allocations: 19.75 kB / 0.5148 GB, free: 81.88 MB / 378.7 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.0001371/0.5785, allocations: 172 kB / 0.515 GB, free: 81.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.5786, allocations: 31.31 kB / 0.515 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008567/0.5794, allocations: 0.698 MB / 0.5157 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5794, allocations: 7.406 kB / 0.5157 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.5794, allocations: 3.594 kB / 0.5157 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005931/0.58, allocations: 0.8652 MB / 0.5166 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.5812, allocations: 1.193 MB / 0.5177 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5812, allocations: 0 / 0.5177 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.5814, allocations: 63.5 kB / 0.5178 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.5829, allocations: 179.2 kB / 0.518 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.583, allocations: 8 kB / 0.518 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002044/0.5832, allocations: 0.5882 MB / 0.5185 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5832, allocations: 0 / 0.5185 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03239/0.6156, allocations: 12.03 MB / 0.5303 GB, free: 68.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.6157, allocations: 100.8 kB / 0.5304 GB, free: 68.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.6157, allocations: 11.94 kB / 0.5304 GB, free: 68.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.6159, allocations: 23.61 kB / 0.5304 GB, free: 68.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.616, allocations: 23.97 kB / 0.5304 GB, free: 67.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.616, allocations: 12 kB / 0.5304 GB, free: 67.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.6162, allocations: 225.9 kB / 0.5307 GB, free: 67.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6162, allocations: 0 / 0.5307 GB, free: 67.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006192/0.6224, allocations: 1.454 MB / 0.5321 GB, free: 66.45 MB / 378.7 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.04798/0.6704, allocations: 9.9 MB / 0.5417 GB, free: 56.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008936/0.6713, allocations: 481.4 kB / 0.5422 GB, free: 56.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6714, allocations: 0 / 0.5422 GB, free: 56.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.6717, allocations: 224 kB / 0.5424 GB, free: 56.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.6728, allocations: 184.7 kB / 0.5426 GB, free: 55.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.6757, allocations: 1.57 MB / 0.5441 GB, free: 54.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.6759, allocations: 0.8168 MB / 0.5449 GB, free: 53.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003741/0.6763, allocations: 208.2 kB / 0.5451 GB, free: 53.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.6764, allocations: 43.42 kB / 0.5452 GB, free: 53.27 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6764, allocations: 0 / 0.5452 GB, free: 53.27 MB / 378.7 MB Notification: Performance of Templates: time 0.04858/0.725, allocations: 47.82 MB / 0.5919 GB, free: 5.594 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)