Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001242, 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.315/1.315, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 101.7 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1904, allocations: 50.46 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0256/0.2161, allocations: 37.28 MB / 444.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0304/0.2465, allocations: 31.58 MB / 475.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004517/0.247, allocations: 4 kB / 475.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009678/0.248, allocations: 354.2 kB / 476.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009526/0.249, allocations: 0.4974 MB / 476.8 MB, free: 5.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01141/0.2604, allocations: 4.158 MB / 480.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.2624, allocations: 2.042 MB / 483 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.2626, allocations: 130.7 kB / 483.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.2633, allocations: 482.1 kB / 483.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.2638, allocations: 458.1 kB / 484 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.2638, allocations: 32 kB / 484 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2218/0.4856, allocations: 35.31 MB / 0.5072 GB, free: 28.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.486, allocations: 122.9 kB / 0.5073 GB, free: 28.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006186/0.4866, allocations: 297 kB / 0.5076 GB, free: 28.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.06363/0.5502, allocations: 26.16 MB / 0.5331 GB, free: 21.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.5503, allocations: 1.312 kB / 0.5331 GB, free: 21.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5503, allocations: 2.625 kB / 0.5331 GB, free: 21.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.5503, allocations: 4 kB / 0.5331 GB, free: 21.3 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007633/0.558, allocations: 1.417 MB / 0.5345 GB, free: 19.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.558, allocations: 13.72 kB / 0.5345 GB, free: 19.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.5586, allocations: 91.27 kB / 0.5346 GB, free: 19.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.559, allocations: 386.4 kB / 0.535 GB, free: 19.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.5591, allocations: 32.62 kB / 0.535 GB, free: 19.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.5591, allocations: 46.38 kB / 0.535 GB, free: 19.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009265/0.56, allocations: 0.6238 MB / 0.5357 GB, free: 18.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.5601, allocations: 6.719 kB / 0.5357 GB, free: 18.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.5601, allocations: 23.56 kB / 0.5357 GB, free: 18.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.5601, allocations: 12 kB / 0.5357 GB, free: 18.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.561, allocations: 0.5204 MB / 0.5362 GB, free: 18.62 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.003183/0.5641, allocations: 3.799 MB / 0.5399 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.5649, allocations: 417.1 kB / 0.5403 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.5652, allocations: 213.9 kB / 0.5405 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002115/0.5673, allocations: 3.462 MB / 0.5439 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.5673, allocations: 40.31 kB / 0.5439 GB, free: 10.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.585e-06/0.5674, allocations: 0 / 0.5439 GB, free: 10.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.008211/0.5756, allocations: 2.025 MB / 0.5459 GB, free: 8.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.5756, allocations: 59.84 kB / 0.546 GB, free: 8.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.5759, allocations: 309.4 kB / 0.5463 GB, free: 8.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.5759, allocations: 36.83 kB / 0.5463 GB, free: 8.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.576, allocations: 233.2 kB / 0.5465 GB, free: 8.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/0.5761, allocations: 190.5 kB / 0.5467 GB, free: 8.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.5762, allocations: 117.7 kB / 0.5468 GB, free: 8.168 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.5763, allocations: 355.9 kB / 0.5472 GB, free: 7.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.5765, allocations: 177.7 kB / 0.5473 GB, free: 7.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.5769, allocations: 330.7 kB / 0.5476 GB, free: 7.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/0.5775, allocations: 0.5452 MB / 0.5482 GB, free: 7.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5775, allocations: 4 kB / 0.5482 GB, free: 7.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001073/0.5786, allocations: 0.67 MB / 0.5488 GB, free: 6.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5786, allocations: 9 kB / 0.5488 GB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5786, allocations: 10.95 kB / 0.5489 GB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008727/0.5873, allocations: 445.6 kB / 0.5493 GB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.5879, allocations: 147 kB / 0.5494 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.5892, allocations: 2.992 MB / 0.5523 GB, free: 3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.5896, allocations: 46.27 kB / 0.5524 GB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.5896, allocations: 24.88 kB / 0.5524 GB, free: 2.949 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.5899, allocations: 196.4 kB / 0.5526 GB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.59, allocations: 48.47 kB / 0.5526 GB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.5912, allocations: 1.057 MB / 0.5537 GB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5912, allocations: 14.17 kB / 0.5537 GB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.5912, allocations: 0 / 0.5537 GB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009124/0.5922, allocations: 1.084 MB / 0.5547 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.5939, allocations: 1.734 MB / 0.5564 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.5939, allocations: 0 / 0.5564 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.5943, allocations: 104.3 kB / 0.5565 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003013/0.5973, allocations: 355.1 kB / 0.5569 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.881e-05/0.5973, allocations: 18.92 kB / 0.5569 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005892/0.5979, allocations: 1.145 MB / 0.558 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5979, allocations: 0 / 0.558 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06176/0.6597, allocations: 20.22 MB / 0.5778 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.6599, allocations: 116.5 kB / 0.5779 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.029e-05/0.6599, allocations: 20.52 kB / 0.5779 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.6603, allocations: 34.91 kB / 0.5779 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.6603, allocations: 40.38 kB / 0.578 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.6604, allocations: 19.23 kB / 0.578 GB, free: 13.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002486/0.6606, allocations: 250.2 kB / 0.5782 GB, free: 13.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6606, allocations: 4 kB / 0.5782 GB, free: 13.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01006/0.6707, allocations: 2.08 MB / 0.5802 GB, free: 11.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.07265/0.7434, allocations: 13.16 MB / 0.5931 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.7451, allocations: 0.7178 MB / 0.5938 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.7451, allocations: 6.188 kB / 0.5938 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005744/0.7457, allocations: 357.4 kB / 0.5941 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.7472, allocations: 261.7 kB / 0.5944 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005582/0.7528, allocations: 2.386 MB / 0.5967 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.7533, allocations: 0.8925 MB / 0.5976 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006935/0.754, allocations: 251.1 kB / 0.5978 GB, free: 9.312 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.7541, allocations: 59.42 kB / 0.5979 GB, free: 9.254 MB / 426.7 MB Notification: Performance of SimCode: time 1.073e-06/0.7541, allocations: 0 / 0.5979 GB, free: 9.254 MB / 426.7 MB Notification: Performance of Templates: time 0.08386/0.838, allocations: 66.14 MB / 0.6625 GB, free: 7.688 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)