Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",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.001064/0.001064, allocations: 100.5 kB / 16.96 MB, free: 5.98 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.001262/0.001262, allocations: 179.5 kB / 17.84 MB, free: 5.633 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.556/1.556, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004361/0.0004361, allocations: 8 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09803, allocations: 47.58 MB / 328.5 MB, free: 3.957 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01563/0.1137, allocations: 14.53 MB / 343 MB, free: 5.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.1163, allocations: 1.8 MB / 344.8 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003503/0.1167, allocations: 4 kB / 344.8 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.1174, allocations: 135.2 kB / 344.9 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007879/0.1182, allocations: 290.5 kB / 345.2 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.1189, allocations: 227.5 kB / 345.4 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.1202, allocations: 1.063 MB / 346.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.1204, allocations: 72.67 kB / 346.6 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.1215, allocations: 430.2 kB / 347 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005294/0.122, allocations: 263 kB / 347.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.1221, allocations: 12 kB / 347.3 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.1223, allocations: 23.98 kB / 347.3 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1224, allocations: 75.72 kB / 347.4 MB, free: 1 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.1226, allocations: 85.58 kB / 347.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.123, allocations: 335.4 kB / 347.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.123, allocations: 0 / 347.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.123, allocations: 0 / 347.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.123, allocations: 0 / 347.8 MB, free: 0.582 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.001103/0.1241, allocations: 0.5184 MB / 348.3 MB, free: 16 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1242, allocations: 12.03 kB / 348.3 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.1243, allocations: 62.53 kB / 348.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.1246, allocations: 43.61 kB / 348.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.125, allocations: 270.5 kB / 348.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.125, allocations: 20.56 kB / 348.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.1251, allocations: 27.95 kB / 348.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.1256, allocations: 303.7 kB / 349 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1257, allocations: 0 / 349 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.1257, allocations: 12 kB / 349 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1257, allocations: 8 kB / 349 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.1261, allocations: 197.5 kB / 349.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.1278, allocations: 1.428 MB / 350.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.1281, allocations: 187.1 kB / 350.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.1283, allocations: 89.2 kB / 350.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1283, allocations: 8.172 kB / 350.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1284, allocations: 34.75 kB / 351 MB, free: 13.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.1284, allocations: 4 kB / 351 MB, free: 13.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002428/0.1308, allocations: 1.006 MB / 352 MB, free: 12.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1309, allocations: 55.41 kB / 352 MB, free: 11.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.1311, allocations: 262.5 kB / 352.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1312, allocations: 29.7 kB / 352.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1313, allocations: 180.2 kB / 352.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.1314, allocations: 98.64 kB / 352.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.1314, allocations: 4 kB / 352.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1315, allocations: 338.8 kB / 352.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1317, allocations: 87.75 kB / 353 MB, free: 10.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.1319, allocations: 182.8 kB / 353.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1321, allocations: 108 kB / 353.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.1322, allocations: 4 kB / 353.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006542/0.1328, allocations: 374.7 kB / 353.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1328, allocations: 8 kB / 353.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.1329, allocations: 3.984 kB / 353.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002773/0.1331, allocations: 74 kB / 353.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.1334, allocations: 75.84 kB / 353.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.1357, allocations: 2.666 MB / 356.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.136, allocations: 24.05 kB / 356.5 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.136, allocations: 15.94 kB / 356.5 MB, free: 7.121 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.1362, allocations: 149.8 kB / 356.7 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.1363, allocations: 23.72 kB / 356.7 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-05/0.1364, allocations: 46.12 kB / 356.7 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1364, allocations: 4 kB / 356.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1364, allocations: 0 / 356.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005946/0.137, allocations: 0.5708 MB / 357.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009923/0.138, allocations: 0.6951 MB / 358 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.138, allocations: 0 / 358 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.1382, allocations: 51.91 kB / 358.1 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.1385, allocations: 56.7 kB / 358.1 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.1385, allocations: 7.984 kB / 358.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.1396, allocations: 1.394 MB / 359.5 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1396, allocations: 4.062 kB / 359.5 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.1403, allocations: 473.1 kB / 360 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.561e-05/0.1404, allocations: 100.8 kB / 360.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.1405, allocations: 11.98 kB / 360.1 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.1407, allocations: 16 kB / 360.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1407, allocations: 19.97 kB / 360.1 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.1408, allocations: 8 kB / 360.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1409, allocations: 182 kB / 360.3 MB, free: 2.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.141, allocations: 0 / 360.3 MB, free: 2.992 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.1414, allocations: 96 kB / 360.4 MB, free: 2.898 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/0.1424, allocations: 0.9988 MB / 361.4 MB, free: 1.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007044/0.1431, allocations: 477.5 kB / 361.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1431, allocations: 0 / 361.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.1435, allocations: 234.4 kB / 362.1 MB, free: 1.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008587/0.1444, allocations: 152.9 kB / 362.3 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.1473, allocations: 1.86 MB / 364.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1477, allocations: 0.7645 MB / 364.9 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003032/0.148, allocations: 50.95 kB / 364.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1481, allocations: 87.41 kB / 365 MB, free: 14.11 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1481, allocations: 0 / 365 MB, free: 14.11 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/0.2562, allocations: 8.012 MB / 373 MB, free: 6.098 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003945/0.2567, allocations: 251.1 kB / 373.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.595, allocations: 0 / 373.3 MB, free: 5.785 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat