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.001066/0.001066, allocations: 97.69 kB / 16.94 MB, free: 5.984 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.001284/0.001284, allocations: 179.8 kB / 17.82 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.577/1.577, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004639/0.000464, allocations: 15.28 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1064, allocations: 47.57 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01178/0.1182, allocations: 10.62 MB / 339.1 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.1204, allocations: 1.411 MB / 340.5 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.1206, allocations: 4 kB / 340.5 MB, free: 7.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.1212, allocations: 139.3 kB / 340.6 MB, free: 7.777 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.1217, allocations: 207.4 kB / 340.8 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007719/0.1224, allocations: 227.4 kB / 341 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006629/0.1231, allocations: 459.1 kB / 341.5 MB, free: 6.902 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.1233, allocations: 72.69 kB / 341.5 MB, free: 6.828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.1241, allocations: 342.9 kB / 341.9 MB, free: 6.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.1243, allocations: 175.3 kB / 342.1 MB, free: 6.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.1244, allocations: 16 kB / 342.1 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1245, allocations: 16 kB / 342.1 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.387e-05/0.1246, allocations: 71.78 kB / 342.2 MB, free: 6.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.1247, allocations: 89.58 kB / 342.2 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.1252, allocations: 323.4 kB / 342.6 MB, free: 5.809 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1252, allocations: 0 / 342.6 MB, free: 5.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1252, allocations: 0 / 342.6 MB, free: 5.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1252, allocations: 0 / 342.6 MB, free: 5.809 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.0009017/0.1261, allocations: 0.5262 MB / 343.1 MB, free: 5.234 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1262, allocations: 12.03 kB / 343.1 MB, free: 5.223 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.302e-05/0.1263, allocations: 62.53 kB / 343.2 MB, free: 5.152 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.1265, allocations: 43.61 kB / 343.2 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.1269, allocations: 270.5 kB / 343.5 MB, free: 4.805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.127, allocations: 20.56 kB / 343.5 MB, free: 4.785 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.127, allocations: 31.89 kB / 343.5 MB, free: 4.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005802/0.1276, allocations: 295.7 kB / 343.8 MB, free: 4.434 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1276, allocations: 4 kB / 343.8 MB, free: 4.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.1277, allocations: 15.98 kB / 343.8 MB, free: 4.414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1277, allocations: 8 kB / 343.8 MB, free: 4.406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.128, allocations: 205.5 kB / 344 MB, free: 4.207 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.1298, allocations: 1.421 MB / 345.5 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.1302, allocations: 179.2 kB / 345.6 MB, free: 2.488 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1302, allocations: 4.188 kB / 345.6 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1302, allocations: 34.73 kB / 345.7 MB, free: 2.441 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.263e-06/0.1302, allocations: 0 / 345.7 MB, free: 2.441 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002525/0.1328, allocations: 1.006 MB / 346.7 MB, free: 1.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1328, allocations: 59.41 kB / 346.7 MB, free: 1.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.1331, allocations: 258.5 kB / 347 MB, free: 1.027 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.1331, allocations: 33.7 kB / 347 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1332, allocations: 176.2 kB / 347.2 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.1333, allocations: 94.64 kB / 347.3 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.1333, allocations: 4 kB / 347.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1335, allocations: 342.8 kB / 347.6 MB, free: 380 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1336, allocations: 87.75 kB / 347.7 MB, free: 292 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.1338, allocations: 182.8 kB / 347.9 MB, free: 68 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.1341, allocations: 104.1 kB / 348 MB, free: 15.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1341, allocations: 4 kB / 348 MB, free: 15.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006373/0.1348, allocations: 382.7 kB / 348.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1348, allocations: 8 kB / 348.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1348, allocations: 0 / 348.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002743/0.1351, allocations: 70.05 kB / 348.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.1354, allocations: 71.8 kB / 348.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.1378, allocations: 2.697 MB / 351.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.138, allocations: 12 kB / 351.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.138, allocations: 16 kB / 351.2 MB, free: 12.43 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.0001555/0.1382, allocations: 153.8 kB / 351.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.1383, allocations: 31.72 kB / 351.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.1383, allocations: 38.12 kB / 351.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1384, allocations: 4 kB / 351.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1384, allocations: 0 / 351.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007406/0.1391, allocations: 0.563 MB / 352 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.1401, allocations: 0.6992 MB / 352.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1402, allocations: 0 / 352.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.1404, allocations: 47.92 kB / 352.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/0.1406, allocations: 72.69 kB / 352.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1407, allocations: 7.938 kB / 352.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.142, allocations: 1.397 MB / 354.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.142, allocations: 0 / 354.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.1427, allocations: 494.3 kB / 354.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.1428, allocations: 96.86 kB / 354.8 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.1428, allocations: 8 kB / 354.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.1431, allocations: 19.92 kB / 354.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.1431, allocations: 15.97 kB / 354.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1431, allocations: 8 kB / 354.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1433, allocations: 186 kB / 355 MB, free: 8.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1433, allocations: 4.062 kB / 355.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005359/0.1439, allocations: 92 kB / 355.1 MB, free: 8.172 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.0009691/0.1448, allocations: 1.081 MB / 356.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007596/0.1456, allocations: 465.1 kB / 356.7 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1456, allocations: 4.812 kB / 356.7 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005052/0.1461, allocations: 242.4 kB / 356.9 MB, free: 6.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/0.147, allocations: 156.6 kB / 357.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.1506, allocations: 3.663 MB / 360.7 MB, free: 2.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.151, allocations: 0.7723 MB / 361.5 MB, free: 1.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.1513, allocations: 50.95 kB / 361.6 MB, free: 1.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.1514, allocations: 83.41 kB / 361.6 MB, free: 1.473 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1514, allocations: 0 / 361.6 MB, free: 1.473 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.174, allocations: 7.992 MB / 369.6 MB, free: 9.48 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.1743, allocations: 237.5 kB / 369.9 MB, free: 9.242 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.169, allocations: 0 / 369.9 MB, free: 9.242 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