Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",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.0008929/0.0008927, allocations: 94.41 kB / 16.94 MB, free: 6.434 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.0009101/0.0009101, allocations: 173.9 kB / 17.83 MB, free: 6.027 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.373/1.373, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005853/0.0005854, allocations: 12.72 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.08625, allocations: 47.58 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004161/0.09045, allocations: 3.699 MB / 332.1 MB, free: 288 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.09213, allocations: 1.524 MB / 333.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.09223, allocations: 0 / 333.6 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.09248, allocations: 39.73 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.09274, allocations: 99.77 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.09329, allocations: 215.5 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.09354, allocations: 175.6 kB / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.742e-05/0.0936, allocations: 24.88 kB / 334.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.09384, allocations: 107.7 kB / 334.3 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.737e-05/0.09395, allocations: 63.77 kB / 334.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.09398, allocations: 8 kB / 334.4 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.0942, allocations: 95.81 kB / 334.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.09428, allocations: 31.89 kB / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.09434, allocations: 53.64 kB / 334.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.09455, allocations: 139.9 kB / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.09456, allocations: 4 kB / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.09457, allocations: 3.938 kB / 334.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.09458, allocations: 0 / 334.7 MB, free: 13.71 MB / 286.1 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.0008179/0.0954, allocations: 455.2 kB / 335.1 MB, free: 13.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.09545, allocations: 12.02 kB / 335.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.09551, allocations: 46.56 kB / 335.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.09568, allocations: 27.8 kB / 335.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.0959, allocations: 206.8 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.09593, allocations: 8.281 kB / 335.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.09597, allocations: 20 kB / 335.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.09637, allocations: 212.6 kB / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.09639, allocations: 0 / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.09643, allocations: 8 kB / 335.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.09644, allocations: 4 kB / 335.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.09677, allocations: 139.8 kB / 335.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.09805, allocations: 0.9478 MB / 336.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.09845, allocations: 154.8 kB / 336.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005341/0.09899, allocations: 0.4996 MB / 337.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.09903, allocations: 38.52 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/0.09904, allocations: 4 kB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002435/0.1015, allocations: 0.7634 MB / 338.2 MB, free: 9.859 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1015, allocations: 55.41 kB / 338.3 MB, free: 9.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1017, allocations: 150.9 kB / 338.4 MB, free: 9.637 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1017, allocations: 33.7 kB / 338.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.1018, allocations: 135.9 kB / 338.6 MB, free: 9.461 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.1019, allocations: 78.92 kB / 338.6 MB, free: 9.383 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.1019, allocations: 4 kB / 338.6 MB, free: 9.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.102, allocations: 326.8 kB / 339 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.1022, allocations: 79.94 kB / 339 MB, free: 8.973 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.1025, allocations: 197.3 kB / 339.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.1028, allocations: 108.8 kB / 339.3 MB, free: 8.625 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1028, allocations: 0 / 339.3 MB, free: 8.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006715/0.1035, allocations: 327.1 kB / 339.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1035, allocations: 7.953 kB / 339.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1035, allocations: 8 kB / 339.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1036, allocations: 8 kB / 339.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.104, allocations: 83.88 kB / 339.8 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.104, allocations: 4.281 kB / 339.8 MB, free: 8.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.1042, allocations: 23.98 kB / 339.8 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.1043, allocations: 8 kB / 339.8 MB, free: 8.16 MB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked 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.0001196/0.1044, allocations: 141.7 kB / 339.9 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.1044, allocations: 19.8 kB / 340 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006379/0.1051, allocations: 238.6 kB / 340.2 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1051, allocations: 0 / 340.2 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1051, allocations: 0 / 340.2 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1051, allocations: 11.94 kB / 340.2 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.1064, allocations: 0.5871 MB / 340.8 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1064, allocations: 0 / 340.8 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.1067, allocations: 55.89 kB / 340.8 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1067, allocations: 4.125 kB / 340.9 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.1067, allocations: 8 kB / 340.9 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1067, allocations: 4 kB / 340.9 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1067, allocations: 0 / 340.9 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/0.1076, allocations: 461.3 kB / 341.3 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.1076, allocations: 88.92 kB / 341.4 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.1077, allocations: 4 kB / 341.4 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1079, allocations: 15.94 kB / 341.4 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.1079, allocations: 15.98 kB / 341.4 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.108, allocations: 11.98 kB / 341.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.108, allocations: 107.2 kB / 341.6 MB, free: 6.262 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1081, allocations: 64 / 341.6 MB, free: 6.262 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000382/0.1084, allocations: 67.94 kB / 341.6 MB, free: 6.195 MB / 286.1 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 () * Number of clocked 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.001227/0.1097, allocations: 1.278 MB / 342.9 MB, free: 4.859 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.1102, allocations: 216.9 kB / 343.1 MB, free: 4.648 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1103, allocations: 0 / 343.1 MB, free: 4.648 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.1105, allocations: 99.75 kB / 343.2 MB, free: 4.551 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1108, allocations: 44.48 kB / 343.2 MB, free: 4.508 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.1138, allocations: 3.491 MB / 346.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1141, allocations: 0.7245 MB / 347.5 MB, free: 140 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.1144, allocations: 49.92 kB / 347.5 MB, free: 88 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1145, allocations: 51.48 kB / 347.6 MB, free: 36 kB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1145, allocations: 3.938 kB / 347.6 MB, free: 32 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.1288, allocations: 4.055 MB / 351.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.129, allocations: 168.9 kB / 351.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.836, allocations: 0 / 351.8 MB, free: 11.74 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat