Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008496/0.0008498, allocations: 96.69 kB / 16.96 MB, free: 6.023 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.0009862/0.0009862, allocations: 178.6 kB / 17.84 MB, free: 5.672 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.392/1.392, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004536/0.0004536, allocations: 8 kB / 280.9 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.09977, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0233/0.1231, allocations: 24.6 MB / 353 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0235/0.1467, allocations: 22.84 MB / 375.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/0.1472, allocations: 4 kB / 375.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009085/0.1482, allocations: 234.7 kB / 376.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.1493, allocations: 338.2 kB / 376.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01112/0.1604, allocations: 3.003 MB / 379.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.204/0.3644, allocations: 1.165 MB / 380.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003579/0.3648, allocations: 77.45 kB / 380.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.3659, allocations: 338 kB / 381 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007413/0.3667, allocations: 297.3 kB / 381.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.3668, allocations: 16.75 kB / 381.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05266/0.4195, allocations: 40.21 MB / 421.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.4197, allocations: 82.12 kB / 421.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.42, allocations: 109.9 kB / 421.7 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02833/0.4483, allocations: 10.67 MB / 432.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4484, allocations: 0.5 kB / 432.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4484, allocations: 0 / 432.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4484, allocations: 0 / 432.4 MB, free: 13.58 MB / 350.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.006981/0.4554, allocations: 1.068 MB / 433.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.4555, allocations: 14.66 kB / 433.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.831e-05/0.4556, allocations: 68.41 kB / 433.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005401/0.4562, allocations: 72.7 kB / 433.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.4566, allocations: 308.4 kB / 433.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.4566, allocations: 24.28 kB / 433.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.4567, allocations: 31.75 kB / 434 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00081/0.4575, allocations: 460 kB / 434.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.4576, allocations: 0 / 434.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.4576, allocations: 19.16 kB / 434.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4576, allocations: 8 kB / 434.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007194/0.4583, allocations: 386.1 kB / 434.8 MB, free: 11.44 MB / 350.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.003255/0.4616, allocations: 2.942 MB / 437.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.4622, allocations: 292.8 kB / 438.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.4625, allocations: 135.6 kB / 438.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002474/0.4649, allocations: 2.547 MB / 440.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.465, allocations: 38.84 kB / 440.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.492e-06/0.465, allocations: 0 / 440.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.004882/0.4699, allocations: 1.279 MB / 442.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.4699, allocations: 55.41 kB / 442.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.4702, allocations: 268 kB / 442.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.4703, allocations: 36.45 kB / 442.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.4704, allocations: 189.8 kB / 442.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.902e-05/0.4705, allocations: 116.3 kB / 442.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.4705, allocations: 10.44 kB / 442.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4707, allocations: 345.9 kB / 443.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.4709, allocations: 111 kB / 443.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.4711, allocations: 226.2 kB / 443.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.4713, allocations: 155.4 kB / 443.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4714, allocations: 0 / 443.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007238/0.4721, allocations: 459 kB / 444 MB, free: 2.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4721, allocations: 4 kB / 444 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.4721, allocations: 4 kB / 444 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/0.4761, allocations: 240.4 kB / 444.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.4764, allocations: 90.66 kB / 444.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.4778, allocations: 1.845 MB / 446.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.4781, allocations: 39.27 kB / 446.2 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.4781, allocations: 19.23 kB / 446.2 MB, free: 432 kB / 350.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.0002001/0.4783, allocations: 163.3 kB / 446.4 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.4784, allocations: 27.72 kB / 446.4 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/0.4794, allocations: 0.6977 MB / 447.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4794, allocations: 9.797 kB / 447.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.4794, allocations: 0 / 447.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007578/0.4802, allocations: 0.8582 MB / 448 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.4815, allocations: 1.19 MB / 449.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4816, allocations: 3.953 kB / 449.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.4818, allocations: 62.62 kB / 449.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/0.4832, allocations: 181.9 kB / 449.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.4833, allocations: 6.875 kB / 449.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003338/0.4836, allocations: 0.5727 MB / 450 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4836, allocations: 2.688 kB / 450 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.4845, allocations: 0.7397 MB / 450.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.4846, allocations: 125.9 kB / 450.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.4846, allocations: 14.44 kB / 450.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.4849, allocations: 18.41 kB / 450.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.4849, allocations: 19.97 kB / 450.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.4849, allocations: 15.23 kB / 450.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.4851, allocations: 230.2 kB / 451.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4851, allocations: 0 / 451.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004432/0.4896, allocations: 0.7338 MB / 451.9 MB, free: 11.79 MB / 366.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.03646/0.5261, allocations: 7.564 MB / 459.4 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.5273, allocations: 489.2 kB / 459.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5273, allocations: 0 / 459.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.5277, allocations: 218.4 kB / 460.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5288, allocations: 188.2 kB / 460.3 MB, free: 3.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007358/0.5361, allocations: 2.573 MB / 462.9 MB, free: 1.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.5366, allocations: 0.809 MB / 463.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004258/0.537, allocations: 198.9 kB / 463.9 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.5373, allocations: 136.2 kB / 464 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5373, allocations: 0 / 464 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/0.597, allocations: 32.6 MB / 496.6 MB, free: 400 kB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.5972, allocations: 196.4 kB / 496.8 MB, free: 156 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/3.853, allocations: 3.938 kB / 496.8 MB, free: 152 kB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat