Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 175.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 230.3 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.000944, allocations: 89.45 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.099e-05/2.102e-05, allocations: 7.984 kB / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1248, allocations: 50.42 MB / 387.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.916/1.041, allocations: 273 MB / 0.645 GB, free: 54.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.041, allocations: 65.84 kB / 0.6451 GB, free: 54.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02171/1.063, allocations: 9.559 MB / 0.6544 GB, free: 46.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.063, allocations: 0 / 0.6544 GB, free: 46.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/1.063, allocations: 4 kB / 0.6544 GB, free: 46.55 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007792/1.064, allocations: 453.2 kB / 0.6549 GB, free: 46.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.064, allocations: 8.031 kB / 0.6549 GB, free: 46.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/1.064, allocations: 27.75 kB / 0.6549 GB, free: 46.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/1.064, allocations: 209.7 kB / 0.6551 GB, free: 45.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/1.064, allocations: 4 kB / 0.6551 GB, free: 45.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/1.064, allocations: 11.91 kB / 0.6551 GB, free: 45.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002592/1.065, allocations: 109.9 kB / 0.6552 GB, free: 45.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/1.065, allocations: 178.6 kB / 0.6554 GB, free: 45.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.065, allocations: 3.938 kB / 0.6554 GB, free: 45.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/1.065, allocations: 7.953 kB / 0.6554 GB, free: 45.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/1.065, allocations: 4 kB / 0.6554 GB, free: 45.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/1.066, allocations: 0.8992 MB / 0.6563 GB, free: 44.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/1.066, allocations: 124.1 kB / 0.6564 GB, free: 44.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/1.067, allocations: 34.61 kB / 0.6564 GB, free: 44.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004807/1.067, allocations: 0.5235 MB / 0.6569 GB, free: 43.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/1.067, allocations: 34.31 kB / 0.657 GB, free: 43.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/1.067, allocations: 0 / 0.657 GB, free: 43.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001726/1.069, allocations: 0.5883 MB / 0.6575 GB, free: 43.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/1.069, allocations: 55.41 kB / 0.6576 GB, free: 43.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/1.069, allocations: 142.4 kB / 0.6577 GB, free: 43.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/1.069, allocations: 25.7 kB / 0.6578 GB, free: 43.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/1.069, allocations: 143.1 kB / 0.6579 GB, free: 42.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/1.069, allocations: 72.5 kB / 0.658 GB, free: 42.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/1.069, allocations: 0 / 0.658 GB, free: 42.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.025e-05/1.069, allocations: 324.7 kB / 0.6583 GB, free: 42.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.605e-05/1.069, allocations: 58.67 kB / 0.6583 GB, free: 42.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/1.069, allocations: 171.9 kB / 0.6585 GB, free: 42.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/1.07, allocations: 84.45 kB / 0.6586 GB, free: 42.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.07, allocations: 0 / 0.6586 GB, free: 42.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003514/1.07, allocations: 251.5 kB / 0.6588 GB, free: 42.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.07, allocations: 4 kB / 0.6588 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/1.07, allocations: 7.984 kB / 0.6588 GB, free: 42.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/1.07, allocations: 8 kB / 0.6588 GB, free: 42.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/1.07, allocations: 83.86 kB / 0.6589 GB, free: 42.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.07, allocations: 7.938 kB / 0.6589 GB, free: 42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/1.071, allocations: 15.98 kB / 0.6589 GB, free: 41.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/1.071, allocations: 12 kB / 0.6589 GB, free: 41.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.101e-05/1.071, allocations: 112.4 kB / 0.6591 GB, free: 41.86 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002648/1.071, allocations: 161.9 kB / 0.6592 GB, free: 41.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/1.071, allocations: 19.77 kB / 0.6592 GB, free: 41.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/1.071, allocations: 195 kB / 0.6594 GB, free: 41.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.071, allocations: 8 kB / 0.6594 GB, free: 41.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.071, allocations: 4 kB / 0.6594 GB, free: 41.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/1.071, allocations: 3.984 kB / 0.6594 GB, free: 41.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008527/1.072, allocations: 0.5123 MB / 0.6599 GB, free: 41.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.072, allocations: 4 kB / 0.6599 GB, free: 41.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/1.073, allocations: 51.2 kB / 0.66 GB, free: 40.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.073, allocations: 4 kB / 0.66 GB, free: 40.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/1.073, allocations: 0 / 0.66 GB, free: 40.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.073, allocations: 7.938 kB / 0.66 GB, free: 40.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.073, allocations: 0 / 0.66 GB, free: 40.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/1.073, allocations: 385.9 kB / 0.6604 GB, free: 40.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/1.073, allocations: 88.95 kB / 0.6604 GB, free: 40.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/1.073, allocations: 12.02 kB / 0.6605 GB, free: 40.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/1.073, allocations: 11.92 kB / 0.6605 GB, free: 40.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/1.073, allocations: 19.05 kB / 0.6605 GB, free: 40.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/1.073, allocations: 11.98 kB / 0.6605 GB, free: 40.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.45e-05/1.074, allocations: 105.6 kB / 0.6606 GB, free: 40.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.074, allocations: 0 / 0.6606 GB, free: 40.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003633/1.074, allocations: 52 kB / 0.6606 GB, free: 40.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008275/1.075, allocations: 1.229 MB / 0.6618 GB, free: 39.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003161/1.075, allocations: 168 kB / 0.662 GB, free: 38.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.075, allocations: 0 / 0.662 GB, free: 38.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/1.075, allocations: 70.48 kB / 0.6621 GB, free: 38.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/1.076, allocations: 44.33 kB / 0.6621 GB, free: 38.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009048/1.076, allocations: 336.7 kB / 0.6624 GB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/1.077, allocations: 0.7165 MB / 0.6631 GB, free: 37.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002622/1.077, allocations: 53.98 kB / 0.6632 GB, free: 37.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/1.077, allocations: 52.47 kB / 0.6632 GB, free: 37.7 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/1.077, allocations: 0 / 0.6632 GB, free: 37.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/1.104, allocations: 3.923 MB / 0.6671 GB, free: 33.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/1.104, allocations: 133.5 kB / 0.6672 GB, free: 33.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.873, allocations: 0 / 0.6672 GB, free: 33.61 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat