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.001419/0.00142, allocations: 175.6 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.3 MB / 235.5 MB, free: 2.883 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.0009035/0.0009033, allocations: 91.8 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.974e-05, allocations: 4 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 50.41 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8279/0.9394, allocations: 273.6 MB / 0.6523 GB, free: 40.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.9397, allocations: 65.03 kB / 0.6524 GB, free: 40.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02091/0.9606, allocations: 9.616 MB / 0.6617 GB, free: 32.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.9606, allocations: 4 kB / 0.6617 GB, free: 32.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.9606, allocations: 0 / 0.6617 GB, free: 32.76 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.0007638/0.9614, allocations: 457.8 kB / 0.6622 GB, free: 32.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.9615, allocations: 8.031 kB / 0.6622 GB, free: 32.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.9615, allocations: 57.12 kB / 0.6622 GB, free: 32.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.9617, allocations: 19.81 kB / 0.6623 GB, free: 32.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.9619, allocations: 202 kB / 0.6625 GB, free: 31.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.9619, allocations: 11.84 kB / 0.6625 GB, free: 31.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.962, allocations: 23.09 kB / 0.6625 GB, free: 31.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.9623, allocations: 198.7 kB / 0.6627 GB, free: 31.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.9623, allocations: 3.938 kB / 0.6627 GB, free: 31.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.9624, allocations: 15.17 kB / 0.6627 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9624, allocations: 7.953 kB / 0.6627 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.9626, allocations: 126.9 kB / 0.6628 GB, free: 31.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.9637, allocations: 0.9346 MB / 0.6637 GB, free: 30.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.9639, allocations: 133.8 kB / 0.6639 GB, free: 30.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.288e-05/0.964, allocations: 42.48 kB / 0.6639 GB, free: 30.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004461/0.9645, allocations: 0.5189 MB / 0.6644 GB, free: 30.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.9645, allocations: 41.94 kB / 0.6645 GB, free: 29.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.512e-06/0.9645, allocations: 0 / 0.6645 GB, free: 29.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001578/0.9661, allocations: 0.6286 MB / 0.6651 GB, free: 29.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.9662, allocations: 55.41 kB / 0.6651 GB, free: 29.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.9663, allocations: 139.1 kB / 0.6653 GB, free: 29.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.9663, allocations: 33.27 kB / 0.6653 GB, free: 29.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.9664, allocations: 143.2 kB / 0.6654 GB, free: 29.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.9664, allocations: 70.19 kB / 0.6655 GB, free: 28.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.9664, allocations: 7.125 kB / 0.6655 GB, free: 28.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.9665, allocations: 326.3 kB / 0.6658 GB, free: 28.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.9666, allocations: 65.94 kB / 0.6659 GB, free: 28.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.9668, allocations: 173.8 kB / 0.666 GB, free: 28.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.9669, allocations: 90.47 kB / 0.6661 GB, free: 28.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9669, allocations: 0 / 0.6661 GB, free: 28.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003916/0.9673, allocations: 283.6 kB / 0.6664 GB, free: 28.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.9673, allocations: 8 kB / 0.6664 GB, free: 28.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9673, allocations: 4 kB / 0.6664 GB, free: 28.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.9674, allocations: 7.938 kB / 0.6664 GB, free: 28.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.9677, allocations: 79.88 kB / 0.6665 GB, free: 28.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.9677, allocations: 11.94 kB / 0.6665 GB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.968, allocations: 19.83 kB / 0.6665 GB, free: 28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.968, allocations: 16 kB / 0.6665 GB, free: 27.99 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 0.000112/0.9681, allocations: 123.1 kB / 0.6667 GB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.9682, allocations: 15.81 kB / 0.6667 GB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.9686, allocations: 214.8 kB / 0.6669 GB, free: 27.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.9686, allocations: 4 kB / 0.6669 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9686, allocations: 0 / 0.6669 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9687, allocations: 0 / 0.6669 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.9697, allocations: 0.5625 MB / 0.6674 GB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.9697, allocations: 0 / 0.6674 GB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.97, allocations: 52.08 kB / 0.6675 GB, free: 27.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.97, allocations: 4 kB / 0.6675 GB, free: 27.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.97, allocations: 15.8 kB / 0.6675 GB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.97, allocations: 0 / 0.6675 GB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9701, allocations: 4 kB / 0.6675 GB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.9706, allocations: 395.1 kB / 0.6679 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.9707, allocations: 92.94 kB / 0.668 GB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.9708, allocations: 11.44 kB / 0.668 GB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.971, allocations: 23.61 kB / 0.668 GB, free: 26.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.971, allocations: 16.05 kB / 0.668 GB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.9711, allocations: 7.438 kB / 0.668 GB, free: 26.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.147e-05/0.9712, allocations: 109.7 kB / 0.6681 GB, free: 26.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9712, allocations: 0 / 0.6681 GB, free: 26.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.9716, allocations: 70.23 kB / 0.6682 GB, free: 26.37 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.001039/0.9726, allocations: 1.253 MB / 0.6694 GB, free: 25.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000363/0.973, allocations: 184 kB / 0.6696 GB, free: 25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.973, allocations: 0 / 0.6696 GB, free: 25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.9731, allocations: 74.88 kB / 0.6697 GB, free: 24.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.9735, allocations: 36.59 kB / 0.6697 GB, free: 24.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.9744, allocations: 354.1 kB / 0.67 GB, free: 24.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.9746, allocations: 0.7165 MB / 0.6707 GB, free: 23.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002446/0.9749, allocations: 46.06 kB / 0.6708 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.975, allocations: 49.97 kB / 0.6708 GB, free: 23.75 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.975, allocations: 0 / 0.6708 GB, free: 23.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.9917, allocations: 4.495 MB / 0.6752 GB, free: 19.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.9919, allocations: 142.9 kB / 0.6754 GB, free: 19.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.719, allocations: 0 / 0.6754 GB, free: 19.16 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