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.001008/0.001008, allocations: 99.2 kB / 16.95 MB, free: 6.078 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.001151/0.001151, allocations: 175.2 kB / 17.84 MB, free: 5.707 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.599/1.599, 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.0004644/0.0004645, allocations: 12 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 47.59 MB / 328.5 MB, free: 3.961 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01374/0.1211, allocations: 11.71 MB / 340.2 MB, free: 8.203 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1233, allocations: 1.601 MB / 341.8 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.1235, allocations: 3.938 kB / 341.8 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.1241, allocations: 127.3 kB / 341.9 MB, free: 6.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005446/0.1247, allocations: 306.4 kB / 342.2 MB, free: 6.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008623/0.1256, allocations: 331.3 kB / 342.5 MB, free: 5.844 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.1267, allocations: 1.051 MB / 343.6 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1269, allocations: 72.67 kB / 343.7 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/0.1274, allocations: 346.7 kB / 344 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.1277, allocations: 251 kB / 344.2 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.1278, allocations: 12 kB / 344.3 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.128, allocations: 51.91 kB / 344.3 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.145e-05/0.1281, allocations: 71.78 kB / 344.4 MB, free: 4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.1281, allocations: 89.58 kB / 344.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.1286, allocations: 359.3 kB / 344.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1286, allocations: 4 kB / 344.8 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1287, allocations: 0 / 344.8 MB, free: 3.551 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1287, allocations: 0 / 344.8 MB, free: 3.551 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.0006637/0.1293, allocations: 0.5221 MB / 345.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1294, allocations: 8.031 kB / 345.3 MB, free: 2.973 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.874e-05/0.1295, allocations: 62.53 kB / 345.4 MB, free: 2.902 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.1297, allocations: 35.72 kB / 345.4 MB, free: 2.867 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.1301, allocations: 266.6 kB / 345.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1301, allocations: 24.56 kB / 345.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.1301, allocations: 27.98 kB / 345.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.1307, allocations: 313.4 kB / 346.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1308, allocations: 7.938 kB / 346.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.1308, allocations: 12 kB / 346.1 MB, free: 2.152 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1308, allocations: 11.98 kB / 346.1 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.1311, allocations: 185.5 kB / 346.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.133, allocations: 1.736 MB / 348 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1332, allocations: 126.5 kB / 348.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1333, allocations: 69.16 kB / 348.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.1335, allocations: 178.1 kB / 348.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.1335, allocations: 34.56 kB / 348.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.1335, allocations: 0 / 348.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001728/0.1353, allocations: 0.7912 MB / 349.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1354, allocations: 59.34 kB / 349.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.1357, allocations: 282.5 kB / 349.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1357, allocations: 29.7 kB / 349.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1358, allocations: 207.5 kB / 349.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.1359, allocations: 70.92 kB / 349.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.1359, allocations: 8 kB / 349.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1361, allocations: 338.8 kB / 350.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1362, allocations: 67.75 kB / 350.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.1364, allocations: 195.1 kB / 350.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.1365, allocations: 95.94 kB / 350.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1365, allocations: 4 kB / 350.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005827/0.1371, allocations: 329.9 kB / 350.8 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1372, allocations: 8 kB / 350.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.1372, allocations: 4 kB / 350.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.385e-05/0.1373, allocations: 29.34 kB / 350.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.1376, allocations: 87.83 kB / 351 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.1386, allocations: 1.303 MB / 352.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.1388, allocations: 19.98 kB / 352.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.1388, allocations: 16 kB / 352.3 MB, free: 11.4 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.0001597/0.139, allocations: 157.7 kB / 352.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1391, allocations: 27.72 kB / 352.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.1396, allocations: 209.8 kB / 352.7 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1396, allocations: 0 / 352.7 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.1396, allocations: 0 / 352.7 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003875/0.14, allocations: 483.8 kB / 353.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.141, allocations: 0.776 MB / 353.9 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.141, allocations: 4 kB / 353.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.1412, allocations: 47.92 kB / 354 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1412, allocations: 4 kB / 354 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.1412, allocations: 7.953 kB / 354 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1412, allocations: 4.281 kB / 354 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1412, allocations: 7.984 kB / 354 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.1418, allocations: 399.5 kB / 354.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.48e-05/0.1419, allocations: 100.8 kB / 354.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.1419, allocations: 15.94 kB / 354.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.1422, allocations: 8 kB / 354.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.1422, allocations: 27.97 kB / 354.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.1422, allocations: 12 kB / 354.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.1424, allocations: 201.9 kB / 354.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1425, allocations: 0 / 354.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.1429, allocations: 99.94 kB / 354.9 MB, free: 8.578 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.0008916/0.1438, allocations: 0.9693 MB / 355.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.1443, allocations: 299.2 kB / 356.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1443, allocations: 0 / 356.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1444, allocations: 76.03 kB / 356.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009161/0.1454, allocations: 157.6 kB / 356.4 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.1483, allocations: 1.734 MB / 358.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1487, allocations: 0.7566 MB / 358.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002959/0.149, allocations: 61.8 kB / 358.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.1491, allocations: 91.41 kB / 359 MB, free: 4.227 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1491, allocations: 0 / 359 MB, free: 4.227 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.1749, allocations: 7.957 MB / 367 MB, free: 12.27 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.1752, allocations: 250.8 kB / 367.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/2.3, allocations: 0 / 367.2 MB, free: 11.93 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