Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001536, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 12 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1043, allocations: 47.58 MB / 374.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01778/0.1222, allocations: 10.67 MB / 385.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.1256, allocations: 1.484 MB / 386.8 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/0.126, allocations: 4 kB / 386.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007259/0.1268, allocations: 143.3 kB / 386.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007307/0.1275, allocations: 211.4 kB / 387.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.129, allocations: 327.3 kB / 387.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.1301, allocations: 463 kB / 387.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.1304, allocations: 60.7 kB / 388 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009386/0.1313, allocations: 307.1 kB / 388.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.1317, allocations: 155.4 kB / 388.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.476e-05/0.1318, allocations: 16 kB / 388.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.1321, allocations: 55.92 kB / 388.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1323, allocations: 63.8 kB / 388.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.1325, allocations: 89.58 kB / 388.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.1331, allocations: 355.4 kB / 389 MB, free: 0.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1331, allocations: 0 / 389 MB, free: 0.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1332, allocations: 0 / 389 MB, free: 0.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1332, allocations: 4 kB / 389 MB, free: 0.9141 MB / 282.7 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.001083/0.1343, allocations: 0.5184 MB / 389.5 MB, free: 356 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.1343, allocations: 8.031 kB / 389.5 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.1345, allocations: 58.53 kB / 389.6 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.1349, allocations: 39.72 kB / 389.6 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2863/0.4212, allocations: 273.8 kB / 389.9 MB, free: 22.17 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.4213, allocations: 18.03 kB / 389.9 MB, free: 22.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/0.4214, allocations: 28.92 kB / 389.9 MB, free: 22.17 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/0.4223, allocations: 316.2 kB / 390.2 MB, free: 22.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.4223, allocations: 2.406 kB / 390.3 MB, free: 22.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.4224, allocations: 15.27 kB / 390.3 MB, free: 22.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.4224, allocations: 8.312 kB / 390.3 MB, free: 22.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005448/0.423, allocations: 191.1 kB / 390.5 MB, free: 22.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002742/0.4257, allocations: 1.73 MB / 392.2 MB, free: 20.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.4262, allocations: 135.1 kB / 392.3 MB, free: 20.71 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/0.4264, allocations: 170.5 kB / 392.5 MB, free: 20.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4264, allocations: 38.05 kB / 392.5 MB, free: 20.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 4.118e-06/0.4265, allocations: 0 / 392.5 MB, free: 20.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.002672/0.4291, allocations: 0.8079 MB / 393.3 MB, free: 19.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.4292, allocations: 54.16 kB / 393.4 MB, free: 19.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.4296, allocations: 275.8 kB / 393.7 MB, free: 19.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.4297, allocations: 31.83 kB / 393.7 MB, free: 19.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4298, allocations: 255.7 kB / 393.9 MB, free: 19.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.4299, allocations: 73.3 kB / 394 MB, free: 19.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.4299, allocations: 5.375 kB / 394 MB, free: 19.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.43, allocations: 325.7 kB / 394.3 MB, free: 19.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.4303, allocations: 68.25 kB / 394.4 MB, free: 19.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.4305, allocations: 190.1 kB / 394.6 MB, free: 18.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.4308, allocations: 106.2 kB / 394.7 MB, free: 18.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4308, allocations: 5.141 kB / 394.7 MB, free: 18.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007761/0.4316, allocations: 322 kB / 395 MB, free: 18.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4317, allocations: 6.281 kB / 395 MB, free: 18.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.4317, allocations: 4.578 kB / 395 MB, free: 18.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.4318, allocations: 24.05 kB / 395 MB, free: 18.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.4324, allocations: 87.36 kB / 395.1 MB, free: 18.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.4336, allocations: 1.3 MB / 396.4 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.434, allocations: 20.47 kB / 396.4 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.893e-05/0.4341, allocations: 25.59 kB / 396.5 MB, free: 17.31 MB / 282.7 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.0002226/0.4343, allocations: 152.6 kB / 396.6 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.4344, allocations: 29.44 kB / 396.7 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.435, allocations: 203.5 kB / 396.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.435, allocations: 2.859 kB / 396.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.435, allocations: 0 / 396.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004383/0.4355, allocations: 486.5 kB / 397.3 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.4371, allocations: 0.7709 MB / 398.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4371, allocations: 3.031 kB / 398.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.4375, allocations: 44.19 kB / 398.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.4375, allocations: 4.656 kB / 398.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.4375, allocations: 7.922 kB / 398.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.4376, allocations: 8.172 kB / 398.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.4376, allocations: 7.703 kB / 398.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/0.4383, allocations: 0.4948 MB / 398.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.4385, allocations: 106 kB / 398.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.4386, allocations: 13.23 kB / 398.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.439, allocations: 20.48 kB / 398.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.4391, allocations: 17.03 kB / 398.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.4391, allocations: 17.38 kB / 398.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00031/0.4395, allocations: 200 kB / 399 MB, free: 15.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4395, allocations: 4 kB / 399 MB, free: 15.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000689/0.4402, allocations: 93.62 kB / 399.1 MB, free: 15.21 MB / 282.7 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.001163/0.4414, allocations: 1.683 MB / 400.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008205/0.4422, allocations: 300 kB / 401.1 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.341e-06/0.4422, allocations: 1.031 kB / 401.1 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.4425, allocations: 70.55 kB / 401.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.4441, allocations: 157.8 kB / 401.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.4486, allocations: 4.334 MB / 405.7 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.4489, allocations: 0.769 MB / 406.4 MB, free: 8.953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.4492, allocations: 96.12 kB / 406.5 MB, free: 8.891 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4492, allocations: 0 / 406.5 MB, free: 8.891 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.899/3.348, allocations: 6.372 MB / 412.9 MB, free: 6.746 MB / 282.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat