Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001105/0.001105, allocations: 98.59 kB / 16.94 MB, free: 6.441 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.001323/0.001323, allocations: 188.2 kB / 17.83 MB, free: 6.008 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.481/1.481, allocations: 205.4 MB / 224 MB, free: 13.19 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.0004532/0.0004533, allocations: 8 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09678, allocations: 47.59 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01128/0.1081, allocations: 10.66 MB / 339.1 MB, free: 9.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.1105, allocations: 1.488 MB / 340.6 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.1107, allocations: 0 / 340.6 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005588/0.1113, allocations: 147.3 kB / 340.7 MB, free: 7.652 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.1117, allocations: 211.4 kB / 340.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009028/0.1127, allocations: 327.3 kB / 341.3 MB, free: 7.125 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.1132, allocations: 455.1 kB / 341.7 MB, free: 6.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.1134, allocations: 72.67 kB / 341.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006305/0.1141, allocations: 299.1 kB / 342.1 MB, free: 6.316 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.1143, allocations: 159.4 kB / 342.2 MB, free: 6.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.1144, allocations: 12 kB / 342.2 MB, free: 6.148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.1146, allocations: 55.91 kB / 342.3 MB, free: 6.094 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.1147, allocations: 75.78 kB / 342.4 MB, free: 6.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/0.1148, allocations: 93.58 kB / 342.5 MB, free: 5.922 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1152, allocations: 347.4 kB / 342.8 MB, free: 5.582 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1152, allocations: 4 kB / 342.8 MB, free: 5.578 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1152, allocations: 0 / 342.8 MB, free: 5.578 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1152, allocations: 0 / 342.8 MB, free: 5.578 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008734/0.1161, allocations: 0.5144 MB / 343.3 MB, free: 5.016 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.1161, allocations: 8.031 kB / 343.3 MB, free: 5.008 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.1162, allocations: 66.53 kB / 343.4 MB, free: 4.934 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.1166, allocations: 47.59 kB / 343.4 MB, free: 4.887 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.117, allocations: 270.6 kB / 343.7 MB, free: 4.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1171, allocations: 16.56 kB / 343.7 MB, free: 4.566 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.1171, allocations: 24 kB / 343.7 MB, free: 4.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.1177, allocations: 321.3 kB / 344 MB, free: 4.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1177, allocations: 3.938 kB / 344.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.1177, allocations: 15.94 kB / 344.1 MB, free: 4.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.1178, allocations: 8 kB / 344.1 MB, free: 4.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.1181, allocations: 189.5 kB / 344.3 MB, free: 3.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.1201, allocations: 1.732 MB / 346 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.1203, allocations: 126.5 kB / 346.1 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.1205, allocations: 170.5 kB / 346.3 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1205, allocations: 42.52 kB / 346.3 MB, free: 1.715 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.1205, allocations: 0 / 346.3 MB, free: 1.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001699/0.1222, allocations: 0.7986 MB / 347.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1223, allocations: 63.34 kB / 347.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.1225, allocations: 274.5 kB / 347.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1226, allocations: 37.7 kB / 347.5 MB, free: 464 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1227, allocations: 195.5 kB / 347.7 MB, free: 264 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.1227, allocations: 74.91 kB / 347.8 MB, free: 188 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.1228, allocations: 4 kB / 347.8 MB, free: 184 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1229, allocations: 338.8 kB / 348.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.123, allocations: 71.75 kB / 348.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.1232, allocations: 187.1 kB / 348.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.1234, allocations: 103.9 kB / 348.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1234, allocations: 0 / 348.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000482/0.1239, allocations: 325.9 kB / 348.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1239, allocations: 8 kB / 348.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.1239, allocations: 4.5 kB / 348.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/0.124, allocations: 28.86 kB / 348.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.1244, allocations: 87.89 kB / 348.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.1254, allocations: 1.307 MB / 350.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1256, allocations: 23.86 kB / 350.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1256, allocations: 16 kB / 350.2 MB, free: 13.49 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.1258, allocations: 153.7 kB / 350.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.1258, allocations: 27.91 kB / 350.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.1262, allocations: 212.7 kB / 350.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1262, allocations: 48 / 350.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1262, allocations: 3.984 kB / 350.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004111/0.1266, allocations: 479.8 kB / 351.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.1276, allocations: 0.776 MB / 351.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1276, allocations: 0 / 351.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.1278, allocations: 51.91 kB / 351.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1278, allocations: 4 kB / 351.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1279, allocations: 16.17 kB / 351.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1279, allocations: 4 kB / 351.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1279, allocations: 0 / 351.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.1283, allocations: 0.5019 MB / 352.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.1284, allocations: 104.9 kB / 352.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.1285, allocations: 7.984 kB / 352.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.1287, allocations: 12 kB / 352.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1288, allocations: 27.94 kB / 352.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.1288, allocations: 11.98 kB / 352.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.129, allocations: 205.9 kB / 352.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.129, allocations: 0 / 352.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000422/0.1294, allocations: 99.94 kB / 352.9 MB, free: 10.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.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 (21): * Single equations (assignments): 21 * 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.0009843/0.1304, allocations: 1.674 MB / 354.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.1309, allocations: 298.4 kB / 354.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1309, allocations: 0 / 354.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.131, allocations: 77.22 kB / 354.9 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.1319, allocations: 157.2 kB / 355.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.135, allocations: 4.282 MB / 359.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.1353, allocations: 0.7641 MB / 360.1 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000279/0.1356, allocations: 62.48 kB / 360.2 MB, free: 2.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.1357, allocations: 91.41 kB / 360.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1357, allocations: 0 / 360.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.1571, allocations: 7.922 MB / 368.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004021/0.1575, allocations: 260.5 kB / 368.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.09, allocations: 0 / 368.5 MB, free: 10.61 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat