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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009957/0.0009958, allocations: 100.2 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 197.4 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002303/0.0002303, allocations: 8 kB / 306.8 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 51.48 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2363/0.3443, allocations: 24.62 MB / 382.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02492/0.3693, allocations: 22.86 MB / 405.8 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.3699, allocations: 11.28 kB / 405.8 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008227/0.3707, allocations: 226.1 kB / 406 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009279/0.3717, allocations: 337.2 kB / 406.3 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01242/0.3841, allocations: 2.998 MB / 409.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.386, allocations: 1.17 MB / 410.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.3862, allocations: 84.62 kB / 410.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007294/0.387, allocations: 341.2 kB / 410.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005499/0.3875, allocations: 299.4 kB / 411.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.3876, allocations: 16.12 kB / 411.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05628/0.4439, allocations: 40.22 MB / 451.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.4442, allocations: 87.7 kB / 451.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.4445, allocations: 105.5 kB / 451.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02672/0.4712, allocations: 10.69 MB / 462.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.4713, allocations: 0 / 462.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4713, allocations: 3.938 kB / 462.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4713, allocations: 0 / 462.3 MB, free: 2.645 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.007275/0.4786, allocations: 1.075 MB / 463.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4787, allocations: 12.03 kB / 463.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.351e-05/0.4788, allocations: 70.47 kB / 463.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000539/0.4793, allocations: 63.59 kB / 463.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.48, allocations: 311 kB / 463.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.48, allocations: 28.61 kB / 463.9 MB, free: 1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.4801, allocations: 32 kB / 463.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.4811, allocations: 459.8 kB / 464.4 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.4812, allocations: 4 kB / 464.4 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.4812, allocations: 16 kB / 464.4 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.4812, allocations: 8 kB / 464.4 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008161/0.482, allocations: 386.2 kB / 464.8 MB, free: 84 kB / 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.003583/0.4856, allocations: 2.949 MB / 467.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006877/0.4863, allocations: 297.5 kB / 468 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.4866, allocations: 132.8 kB / 468.1 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002506/0.4891, allocations: 2.533 MB / 470.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4891, allocations: 38.56 kB / 470.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.217e-06/0.4892, allocations: 0 / 470.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005089/0.4943, allocations: 1.286 MB / 472 MB, free: 8.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.4943, allocations: 59.41 kB / 472 MB, free: 7.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.4946, allocations: 262.5 kB / 472.3 MB, free: 7.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.4946, allocations: 37.64 kB / 472.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.4948, allocations: 188 kB / 472.5 MB, free: 7.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.906e-05/0.4949, allocations: 114.3 kB / 472.6 MB, free: 7.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.4949, allocations: 8 kB / 472.6 MB, free: 7.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.495, allocations: 342.8 kB / 473 MB, free: 6.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.4952, allocations: 108.8 kB / 473.1 MB, free: 6.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.4955, allocations: 226 kB / 473.3 MB, free: 6.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.4957, allocations: 152.5 kB / 473.4 MB, free: 6.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4958, allocations: 4 kB / 473.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008263/0.4966, allocations: 458.5 kB / 473.9 MB, free: 6.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4966, allocations: 4.438 kB / 473.9 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.4966, allocations: 8 kB / 473.9 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004058/0.5007, allocations: 241.4 kB / 474.1 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.5011, allocations: 91.83 kB / 474.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.5025, allocations: 1.846 MB / 476.1 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.5028, allocations: 36.17 kB / 476.1 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.5029, allocations: 23.95 kB / 476.1 MB, free: 3.598 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 (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.0002133/0.5031, allocations: 153.7 kB / 476.3 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.5032, allocations: 35.62 kB / 476.3 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.5042, allocations: 0.6891 MB / 477 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.5043, allocations: 7.984 kB / 477 MB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5043, allocations: 4 kB / 477 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008658/0.5051, allocations: 0.8557 MB / 477.9 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.5066, allocations: 1.202 MB / 479.1 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.5066, allocations: 0.875 kB / 479.1 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.5069, allocations: 63.91 kB / 479.1 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/0.5083, allocations: 180.6 kB / 479.3 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.5084, allocations: 4 kB / 479.3 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003745/0.5088, allocations: 0.5835 MB / 479.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5088, allocations: 64 / 479.9 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009513/0.5097, allocations: 0.7366 MB / 480.6 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.5099, allocations: 128.6 kB / 480.8 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.5099, allocations: 11.95 kB / 480.8 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.5101, allocations: 16.12 kB / 480.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.5102, allocations: 23.97 kB / 480.8 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.5102, allocations: 15.98 kB / 480.8 MB, free: 14.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.5104, allocations: 217.9 kB / 481.1 MB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5104, allocations: 0 / 481.1 MB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004702/0.5151, allocations: 0.7496 MB / 481.8 MB, free: 13.7 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 (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.03635/0.5515, allocations: 7.578 MB / 489.4 MB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.5526, allocations: 469.5 kB / 489.8 MB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5526, allocations: 4 kB / 489.8 MB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.553, allocations: 223 kB / 490.1 MB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5541, allocations: 184.6 kB / 490.2 MB, free: 5.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006982/0.5611, allocations: 2.588 MB / 492.8 MB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.5616, allocations: 0.8012 MB / 493.6 MB, free: 1.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004603/0.562, allocations: 198.8 kB / 493.8 MB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.5622, allocations: 131.4 kB / 494 MB, free: 1.375 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5623, allocations: 0 / 494 MB, free: 1.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05892/0.6212, allocations: 32.66 MB / 0.5143 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/0.6214, allocations: 203.4 kB / 0.5145 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/3.896, allocations: 8 kB / 0.5145 GB, free: 0.5664 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat