Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001473/0.001473, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00176/0.00176, allocations: 194.4 kB / 16.25 MB, free: 6.621 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.45/1.45, allocations: 205.1 MB / 222.1 MB, free: 4.621 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.001227/0.001227, allocations: 47.94 kB / 278.2 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2494, allocations: 46.63 MB / 324.8 MB, free: 1.902 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02656/0.276, allocations: 26.41 MB / 351.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02605/0.3021, allocations: 24.75 MB / 376 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.3026, allocations: 4 kB / 376 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008835/0.3035, allocations: 266.8 kB / 376.3 MB, free: 496 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008829/0.3044, allocations: 342.1 kB / 376.6 MB, free: 152 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.3152, allocations: 3.549 MB / 380.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.3163, allocations: 0.9425 MB / 381.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.3166, allocations: 105 kB / 381.2 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.3173, allocations: 390.6 kB / 381.6 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004137/0.3177, allocations: 318.8 kB / 381.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.3178, allocations: 40 kB / 381.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03964/0.3574, allocations: 30.07 MB / 412 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.3577, allocations: 111.6 kB / 412.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.3581, allocations: 227.1 kB / 412.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04427/0.4024, allocations: 20.17 MB / 432.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4024, allocations: 0 / 432.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4025, allocations: 0 / 432.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.4025, allocations: 0 / 432.5 MB, free: 8.035 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.007064/0.4096, allocations: 1.146 MB / 433.6 MB, free: 6.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.4096, allocations: 12.03 kB / 433.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/0.4102, allocations: 71.52 kB / 433.7 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.4107, allocations: 306.3 kB / 434 MB, free: 6.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.4107, allocations: 28.66 kB / 434.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.4108, allocations: 35.98 kB / 434.1 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009011/0.4117, allocations: 455.8 kB / 434.5 MB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.4117, allocations: 7.938 kB / 434.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.4118, allocations: 19.98 kB / 434.6 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4118, allocations: 11.94 kB / 434.6 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007124/0.4125, allocations: 378.3 kB / 434.9 MB, free: 5.465 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.003169/0.4157, allocations: 2.953 MB / 437.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006374/0.4163, allocations: 286.8 kB / 438.2 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4165, allocations: 133.3 kB / 438.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002172/0.4187, allocations: 2.474 MB / 440.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.4188, allocations: 38.5 kB / 440.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.264e-06/0.4188, allocations: 4 kB / 440.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005222/0.424, allocations: 1.273 MB / 442.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.4241, allocations: 55.41 kB / 442.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.4243, allocations: 266.4 kB / 442.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.4244, allocations: 37.7 kB / 442.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.4245, allocations: 196 kB / 442.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.4246, allocations: 114.3 kB / 442.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.4247, allocations: 82.12 kB / 442.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4248, allocations: 342.8 kB / 443.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.425, allocations: 112.8 kB / 443.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.4253, allocations: 230 kB / 443.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.4258, allocations: 381.5 kB / 443.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4258, allocations: 0 / 443.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007984/0.4266, allocations: 458.5 kB / 444.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4266, allocations: 8 kB / 444.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4266, allocations: 4.438 kB / 444.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005078/0.4317, allocations: 233.4 kB / 444.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.4321, allocations: 95.77 kB / 444.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.4334, allocations: 1.939 MB / 446.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.4338, allocations: 27.98 kB / 446.6 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.4338, allocations: 23.98 kB / 446.6 MB, free: 8.602 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 (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.0002016/0.434, allocations: 169.8 kB / 446.8 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.4341, allocations: 31.62 kB / 446.8 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.4352, allocations: 0.7012 MB / 447.5 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4352, allocations: 4 kB / 447.5 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4352, allocations: 7.922 kB / 447.6 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007798/0.436, allocations: 0.8518 MB / 448.4 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.4374, allocations: 1.191 MB / 449.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4375, allocations: 0 / 449.6 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.4377, allocations: 67.91 kB / 449.7 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/0.4395, allocations: 180.5 kB / 449.8 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.4395, allocations: 7.984 kB / 449.8 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003249/0.4398, allocations: 0.5757 MB / 450.4 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4398, allocations: 64 / 450.4 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009191/0.4408, allocations: 0.7408 MB / 451.2 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.4409, allocations: 104.7 kB / 451.3 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.4409, allocations: 15.89 kB / 451.3 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.4412, allocations: 28.03 kB / 451.3 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.4412, allocations: 23.72 kB / 451.3 MB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.4413, allocations: 15.98 kB / 451.3 MB, free: 3.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.4415, allocations: 221.9 kB / 451.6 MB, free: 3.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4415, allocations: 0 / 451.6 MB, free: 3.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004258/0.4458, allocations: 0.7379 MB / 452.3 MB, free: 2.711 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 (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.1689/0.6147, allocations: 6.384 MB / 458.7 MB, free: 110.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.6159, allocations: 0.4928 MB / 459.2 MB, free: 110.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6159, allocations: 0.6562 kB / 459.2 MB, free: 110.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.6163, allocations: 228.4 kB / 459.4 MB, free: 110.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.6174, allocations: 188.4 kB / 459.6 MB, free: 110.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.6189, allocations: 1.054 MB / 460.6 MB, free: 109.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.6191, allocations: 0.8079 MB / 461.4 MB, free: 108.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004075/0.6195, allocations: 200.9 kB / 461.6 MB, free: 108.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.6196, allocations: 42.12 kB / 461.7 MB, free: 108.9 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6196, allocations: 1.438 kB / 461.7 MB, free: 108.9 MB / 382.1 MB Notification: Performance of Templates: time 0.0332/0.6528, allocations: 28.93 MB / 490.6 MB, free: 84.56 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)