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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 92.53 kB / 16.3 MB, free: 5.527 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.00118/0.00118, allocations: 184.5 kB / 17.2 MB, free: 5.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.2 MB / 241.1 MB, free: 376 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 8 kB / 300.8 MB, free: 6.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.105, allocations: 50.41 MB / 351.2 MB, free: 3.984 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004466/0.1095, allocations: 3.697 MB / 354.9 MB, free: 264 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1113, allocations: 1.52 MB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.1114, allocations: 0 / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1116, allocations: 35.8 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.112, allocations: 99.77 kB / 356.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.1126, allocations: 226.1 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.1129, allocations: 171.7 kB / 357 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.1129, allocations: 13.06 kB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.1132, allocations: 119.6 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1133, allocations: 67.75 kB / 357.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1134, allocations: 4 kB / 357.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.1136, allocations: 87.94 kB / 357.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.1137, allocations: 31.91 kB / 357.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.1137, allocations: 49.64 kB / 357.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.114, allocations: 147.9 kB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.114, allocations: 0 / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.114, allocations: 4 kB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.114, allocations: 0 / 357.5 MB, free: 13.7 MB / 302.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.0008701/0.1149, allocations: 456 kB / 357.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1149, allocations: 8.031 kB / 357.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.982e-05/0.115, allocations: 50.55 kB / 358 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1152, allocations: 27.81 kB / 358 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.1154, allocations: 202.9 kB / 358.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1155, allocations: 12.28 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.1155, allocations: 15.91 kB / 358.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.116, allocations: 217.5 kB / 358.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.116, allocations: 3.953 kB / 358.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.116, allocations: 8 kB / 358.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.116, allocations: 4 kB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003555/0.1164, allocations: 147.8 kB / 358.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.1177, allocations: 0.9285 MB / 359.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.1181, allocations: 154.7 kB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.1187, allocations: 0.5073 MB / 360.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.1188, allocations: 34.56 kB / 360.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/0.1188, allocations: 4 kB / 360.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002476/0.1213, allocations: 0.7662 MB / 361 MB, free: 9.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1213, allocations: 55.34 kB / 361 MB, free: 9.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1215, allocations: 160.3 kB / 361.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1215, allocations: 29.7 kB / 361.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.1216, allocations: 143.8 kB / 361.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.1217, allocations: 74.92 kB / 361.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.1217, allocations: 8 kB / 361.4 MB, free: 9.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1218, allocations: 326.8 kB / 361.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.1221, allocations: 83.94 kB / 361.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.1224, allocations: 185.8 kB / 362 MB, free: 8.719 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.1227, allocations: 110.4 kB / 362.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1227, allocations: 0 / 362.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000694/0.1234, allocations: 314.5 kB / 362.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1234, allocations: 7.984 kB / 362.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1234, allocations: 7.938 kB / 362.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1235, allocations: 8 kB / 362.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.1239, allocations: 79.89 kB / 362.5 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.1239, allocations: 4 kB / 362.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.1241, allocations: 28.2 kB / 362.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.1242, allocations: 16 kB / 362.6 MB, free: 8.152 MB / 302.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.0001453/0.1243, allocations: 137.7 kB / 362.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.1244, allocations: 15.81 kB / 362.7 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006652/0.125, allocations: 238.6 kB / 363 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.125, allocations: 7.984 kB / 363 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1251, allocations: 0 / 363 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1251, allocations: 0 / 363 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1264, allocations: 0.5874 MB / 363.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1264, allocations: 4 kB / 363.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.1267, allocations: 51.95 kB / 363.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.1267, allocations: 4.125 kB / 363.6 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1267, allocations: 4 kB / 363.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.1267, allocations: 7.953 kB / 363.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.1267, allocations: 7.922 kB / 363.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008669/0.1276, allocations: 451.4 kB / 364.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.1277, allocations: 93.02 kB / 364.2 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.1277, allocations: 11.98 kB / 364.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1279, allocations: 11.94 kB / 364.2 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.128, allocations: 19.91 kB / 364.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.128, allocations: 8 kB / 364.2 MB, free: 6.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.124e-05/0.1281, allocations: 107.2 kB / 364.3 MB, free: 6.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1281, allocations: 0 / 364.3 MB, free: 6.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.1285, allocations: 75.89 kB / 364.4 MB, free: 6.18 MB / 302.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.001301/0.1298, allocations: 1.276 MB / 365.7 MB, free: 4.855 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006062/0.1304, allocations: 212.2 kB / 365.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1304, allocations: 4 kB / 365.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.1307, allocations: 91.81 kB / 366 MB, free: 4.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.131, allocations: 32.59 kB / 366 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.1343, allocations: 3.504 MB / 369.5 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1347, allocations: 0.7209 MB / 370.2 MB, free: 144 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002993/0.135, allocations: 49.92 kB / 370.3 MB, free: 92 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.1351, allocations: 55.34 kB / 370.3 MB, free: 36 kB / 302.1 MB Notification: Performance of SimCode: time 2.515e-06/0.1351, allocations: 0 / 370.3 MB, free: 36 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1759/0.3111, allocations: 4.052 MB / 374.4 MB, free: 24.73 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/0.3112, allocations: 179 kB / 374.6 MB, free: 24.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.078, allocations: 0 / 374.6 MB, free: 24.48 MB / 302.1 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