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.0009775/0.0009777, allocations: 101.2 kB / 16.96 MB, free: 6 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.001108/0.001109, allocations: 178.5 kB / 17.84 MB, free: 5.652 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.426/1.426, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004526/0.0004527, allocations: 14.95 kB / 280.9 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.09026, allocations: 47.57 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004256/0.09456, allocations: 3.967 MB / 332.4 MB, free: 8 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.09625, allocations: 1.691 MB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.09634, allocations: 4 kB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.09656, allocations: 31.81 kB / 334.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.09687, allocations: 107.4 kB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.09747, allocations: 227.4 kB / 334.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.09782, allocations: 314.9 kB / 334.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.09788, allocations: 12.89 kB / 334.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.09813, allocations: 123.5 kB / 334.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.09826, allocations: 79.72 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.09829, allocations: 4 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.0985, allocations: 83.89 kB / 335.1 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.09858, allocations: 35.89 kB / 335.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.09863, allocations: 53.64 kB / 335.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.09885, allocations: 147.9 kB / 335.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.09887, allocations: 0 / 335.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.09888, allocations: 0 / 335.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.09889, allocations: 0 / 335.3 MB, free: 13.11 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.0008298/0.09973, allocations: 459.2 kB / 335.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.09978, allocations: 8.031 kB / 335.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/0.09984, allocations: 50.55 kB / 335.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.1, allocations: 19.81 kB / 335.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.1002, allocations: 202.9 kB / 336 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1002, allocations: 12.28 kB / 336 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1003, allocations: 12 kB / 336 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.1007, allocations: 212.6 kB / 336.2 MB, free: 12.03 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1007, allocations: 7.984 kB / 336.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.1007, allocations: 8 kB / 336.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1007, allocations: 4 kB / 336.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.1011, allocations: 151.8 kB / 336.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.1023, allocations: 0.9479 MB / 337.4 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.1026, allocations: 138.8 kB / 337.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1028, allocations: 64.7 kB / 337.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004887/0.1033, allocations: 0.5071 MB / 338.1 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1033, allocations: 34.56 kB / 338.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1033, allocations: 3.938 kB / 338.1 MB, free: 10.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002255/0.1056, allocations: 0.7557 MB / 338.9 MB, free: 9.203 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.1056, allocations: 51.41 kB / 338.9 MB, free: 9.141 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1057, allocations: 150.9 kB / 339.1 MB, free: 8.984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1058, allocations: 37.64 kB / 339.1 MB, free: 8.941 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.1059, allocations: 143.8 kB / 339.2 MB, free: 8.797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.1059, allocations: 71.02 kB / 339.3 MB, free: 8.727 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.1059, allocations: 4 kB / 339.3 MB, free: 8.723 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1061, allocations: 330.8 kB / 339.6 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.1063, allocations: 83.94 kB / 339.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1066, allocations: 197.3 kB / 339.9 MB, free: 8.066 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.1069, allocations: 100.8 kB / 340 MB, free: 7.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1069, allocations: 0 / 340 MB, free: 7.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006176/0.1075, allocations: 323 kB / 340.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1075, allocations: 12.42 kB / 340.3 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1075, allocations: 8 kB / 340.3 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1076, allocations: 4 kB / 340.3 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.1079, allocations: 79.89 kB / 340.4 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.108, allocations: 15.94 kB / 340.4 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.1082, allocations: 15.98 kB / 340.5 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.1082, allocations: 19.98 kB / 340.5 MB, free: 7.496 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.0001253/0.1083, allocations: 141.7 kB / 340.6 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.1084, allocations: 15.81 kB / 340.6 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006096/0.109, allocations: 238.7 kB / 340.9 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.109, allocations: 7.938 kB / 340.9 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.109, allocations: 3.953 kB / 340.9 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.109, allocations: 4 kB / 340.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.1102, allocations: 0.5952 MB / 341.5 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1102, allocations: 0 / 341.5 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.1105, allocations: 47.95 kB / 341.5 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1105, allocations: 4 kB / 341.5 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.1105, allocations: 11.98 kB / 341.5 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1106, allocations: 3.938 kB / 341.5 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1106, allocations: 0 / 341.5 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.1113, allocations: 402.7 kB / 341.9 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.1114, allocations: 92.94 kB / 342 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.1114, allocations: 11.94 kB / 342 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.1116, allocations: 15.98 kB / 342 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.1117, allocations: 11.92 kB / 342.1 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.1117, allocations: 12 kB / 342.1 MB, free: 5.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.809e-05/0.1118, allocations: 111.3 kB / 342.2 MB, free: 5.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1118, allocations: 0 / 342.2 MB, free: 5.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.1122, allocations: 64 kB / 342.2 MB, free: 5.598 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.001028/0.1132, allocations: 0.9537 MB / 343.2 MB, free: 4.602 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005254/0.1137, allocations: 212.5 kB / 343.4 MB, free: 4.395 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1137, allocations: 4.125 kB / 343.4 MB, free: 4.391 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.114, allocations: 91.81 kB / 343.5 MB, free: 4.301 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.1144, allocations: 35.97 kB / 343.5 MB, free: 4.266 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.1166, allocations: 1.246 MB / 344.8 MB, free: 2.91 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1169, allocations: 0.7168 MB / 345.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.1172, allocations: 49.88 kB / 345.5 MB, free: 2.117 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1173, allocations: 51.47 kB / 345.6 MB, free: 2.066 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1174, allocations: 0 / 345.6 MB, free: 2.066 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.1358, allocations: 4.087 MB / 349.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.1361, allocations: 181.5 kB / 349.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.021, allocations: 0 / 349.9 MB, free: 13.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