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.005158/0.005158, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001151/0.001151, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.331/1.331, allocations: 205.1 MB / 222.5 MB, free: 12.21 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.001145/0.001145, allocations: 55.92 kB / 326.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.09539, allocations: 46.61 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1986/0.294, allocations: 26.59 MB / 399.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02672/0.3208, allocations: 24.87 MB / 424.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004265/0.3213, allocations: 5.156 kB / 424.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008961/0.3222, allocations: 304.3 kB / 424.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009419/0.3232, allocations: 375.4 kB / 425.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01183/0.335, allocations: 4.094 MB / 429.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.3365, allocations: 0.9484 MB / 430.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.3367, allocations: 103 kB / 430.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000628/0.3373, allocations: 388.7 kB / 430.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.3377, allocations: 305.4 kB / 431.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.3377, allocations: 41.38 kB / 431.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02022/0.358, allocations: 10.43 MB / 441.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.3582, allocations: 103.7 kB / 441.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.3588, allocations: 227.1 kB / 441.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02744/0.3862, allocations: 11.48 MB / 453.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3863, allocations: 0 / 453.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.3863, allocations: 0 / 453.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.177e-05/0.3863, allocations: 0 / 453.4 MB, free: 15.25 MB / 382.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.006228/0.3926, allocations: 1.135 MB / 454.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3926, allocations: 12.03 kB / 454.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005794/0.3932, allocations: 67.5 kB / 454.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.3937, allocations: 326.2 kB / 454.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3938, allocations: 28.59 kB / 455 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.3938, allocations: 36 kB / 455 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009264/0.3947, allocations: 467.7 kB / 455.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3948, allocations: 0 / 455.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.3948, allocations: 16 kB / 455.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3949, allocations: 12 kB / 455.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007744/0.3956, allocations: 386.3 kB / 455.9 MB, free: 12.66 MB / 382.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.003352/0.399, allocations: 2.949 MB / 458.8 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.3997, allocations: 286.8 kB / 459.1 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3999, allocations: 136.8 kB / 459.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002211/0.4021, allocations: 2.47 MB / 461.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.4022, allocations: 38.56 kB / 461.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.4022, allocations: 0 / 461.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005443/0.4076, allocations: 1.285 MB / 463 MB, free: 4.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.4077, allocations: 55.41 kB / 463.1 MB, free: 4.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.408, allocations: 258.6 kB / 463.3 MB, free: 4.348 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.408, allocations: 41.7 kB / 463.4 MB, free: 4.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.4081, allocations: 188 kB / 463.5 MB, free: 4.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/0.4083, allocations: 122.2 kB / 463.7 MB, free: 3.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.4084, allocations: 90.06 kB / 463.8 MB, free: 3.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4085, allocations: 334.8 kB / 464.1 MB, free: 3.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.4087, allocations: 108.8 kB / 464.2 MB, free: 3.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.409, allocations: 234 kB / 464.4 MB, free: 3.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.4095, allocations: 380.3 kB / 464.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4096, allocations: 0 / 464.8 MB, free: 2.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009132/0.4105, allocations: 458.6 kB / 465.2 MB, free: 2.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.4105, allocations: 12.88 kB / 465.2 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.4105, allocations: 4 kB / 465.2 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00474/0.4153, allocations: 229.9 kB / 465.5 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.4156, allocations: 91.83 kB / 465.6 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.4172, allocations: 1.943 MB / 467.5 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.4174, allocations: 15.98 kB / 467.5 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.4175, allocations: 23.98 kB / 467.5 MB, free: 15.81 MB / 398.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.0001997/0.4177, allocations: 169.8 kB / 467.7 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.4178, allocations: 31.62 kB / 467.7 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.4189, allocations: 0.6871 MB / 468.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/0.4189, allocations: 7.984 kB / 468.4 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4189, allocations: 4 kB / 468.4 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000891/0.4198, allocations: 0.8499 MB / 469.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.4215, allocations: 1.195 MB / 470.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.4215, allocations: 4 kB / 470.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.4218, allocations: 63.91 kB / 470.6 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/0.4234, allocations: 172.6 kB / 470.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.4234, allocations: 12 kB / 470.7 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003349/0.4238, allocations: 0.5757 MB / 471.3 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4238, allocations: 0 / 471.3 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009614/0.4248, allocations: 0.7341 MB / 472 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.4249, allocations: 116.6 kB / 472.2 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.4249, allocations: 18.44 kB / 472.2 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.4251, allocations: 8 kB / 472.2 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.4252, allocations: 23.91 kB / 472.2 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.4252, allocations: 12 kB / 472.2 MB, free: 10.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002458/0.4255, allocations: 221.9 kB / 472.4 MB, free: 10.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4255, allocations: 0 / 472.4 MB, free: 10.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00566/0.4311, allocations: 0.7418 MB / 473.2 MB, free: 9.945 MB / 398.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.02514/0.4563, allocations: 6.395 MB / 479.6 MB, free: 3.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.4574, allocations: 477.4 kB / 480 MB, free: 3.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4574, allocations: 3.938 kB / 480 MB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.4578, allocations: 220.2 kB / 480.3 MB, free: 2.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4589, allocations: 185.5 kB / 480.4 MB, free: 2.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4605, allocations: 0.9116 MB / 481.3 MB, free: 1.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.4609, allocations: 0.8129 MB / 482.2 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003861/0.4613, allocations: 179 kB / 482.3 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.4614, allocations: 39.44 kB / 482.4 MB, free: 0.668 MB / 398.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4614, allocations: 7.938 kB / 482.4 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of Templates: time 0.04072/0.5021, allocations: 29.04 MB / 0.4994 GB, free: 3.543 MB / 430.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)