Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",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.001154/0.001155, allocations: 82.73 kB / 16.31 MB, free: 6.449 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.001464/0.001464, allocations: 178.5 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 241.2 MB, free: 5.27 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002468/0.0002469, allocations: 8.438 kB / 300.9 MB, free: 5.59 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.098, allocations: 50.42 MB / 351.3 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00416/0.1022, allocations: 3.967 MB / 355.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1039, allocations: 1.668 MB / 357 MB, free: 5.711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.1039, allocations: 0 / 357 MB, free: 5.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.1041, allocations: 31.81 kB / 357 MB, free: 5.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1044, allocations: 115.3 kB / 357.1 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.1049, allocations: 221.6 kB / 357.3 MB, free: 5.355 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.1053, allocations: 318.8 kB / 357.6 MB, free: 5.039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.1053, allocations: 17.05 kB / 357.6 MB, free: 5.023 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1055, allocations: 115.6 kB / 357.8 MB, free: 4.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1057, allocations: 91.66 kB / 357.9 MB, free: 4.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.1057, allocations: 8 kB / 357.9 MB, free: 4.812 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.1059, allocations: 67.97 kB / 357.9 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.106, allocations: 43.81 kB / 358 MB, free: 4.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.106, allocations: 49.64 kB / 358 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1063, allocations: 147.6 kB / 358.2 MB, free: 4.504 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1063, allocations: 0 / 358.2 MB, free: 4.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1063, allocations: 0 / 358.2 MB, free: 4.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1063, allocations: 0 / 358.2 MB, free: 4.504 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008287/0.1071, allocations: 459.2 kB / 358.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1072, allocations: 8.031 kB / 358.6 MB, free: 3.996 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.1072, allocations: 50.55 kB / 358.7 MB, free: 3.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.1074, allocations: 23.81 kB / 358.7 MB, free: 3.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1076, allocations: 202.8 kB / 358.9 MB, free: 3.676 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1076, allocations: 12.28 kB / 358.9 MB, free: 3.664 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1077, allocations: 16 kB / 358.9 MB, free: 3.648 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.1081, allocations: 216.6 kB / 359.1 MB, free: 3.414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1081, allocations: 3.953 kB / 359.1 MB, free: 3.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.1081, allocations: 8 kB / 359.1 MB, free: 3.402 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1081, allocations: 8 kB / 359.1 MB, free: 3.395 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000329/0.1085, allocations: 151.8 kB / 359.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1097, allocations: 0.9361 MB / 360.2 MB, free: 2.234 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.1101, allocations: 154.7 kB / 360.4 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1102, allocations: 56.83 kB / 360.4 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000536/0.1108, allocations: 0.4993 MB / 360.9 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1108, allocations: 38.56 kB / 361 MB, free: 1.406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.1108, allocations: 0 / 361 MB, free: 1.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.00235/0.1132, allocations: 0.7617 MB / 361.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1132, allocations: 59.34 kB / 361.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.1134, allocations: 156.3 kB / 361.9 MB, free: 372 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1134, allocations: 29.7 kB / 362 MB, free: 336 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.1135, allocations: 139.9 kB / 362.1 MB, free: 192 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.1136, allocations: 70.98 kB / 362.2 MB, free: 120 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.1136, allocations: 8 kB / 362.2 MB, free: 112 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1137, allocations: 330.8 kB / 362.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.114, allocations: 75.94 kB / 362.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.1143, allocations: 189.9 kB / 362.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.1145, allocations: 114.9 kB / 362.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1145, allocations: 0 / 362.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006501/0.1152, allocations: 321.1 kB / 363.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1152, allocations: 4 kB / 363.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1152, allocations: 7.938 kB / 363.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1152, allocations: 8 kB / 363.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.1156, allocations: 75.89 kB / 363.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1156, allocations: 4 kB / 363.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1158, allocations: 32.2 kB / 363.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.1159, allocations: 12 kB / 363.3 MB, free: 14.9 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.116, allocations: 141.7 kB / 363.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.1161, allocations: 15.81 kB / 363.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.1167, allocations: 242.6 kB / 363.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1167, allocations: 0 / 363.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1167, allocations: 4 kB / 363.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1167, allocations: 4 kB / 363.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.1179, allocations: 0.5935 MB / 364.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1179, allocations: 4 kB / 364.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.1182, allocations: 51.89 kB / 364.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.1182, allocations: 4.109 kB / 364.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.1182, allocations: 12 kB / 364.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.1182, allocations: 11.94 kB / 364.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1182, allocations: 0 / 364.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.119, allocations: 405 kB / 364.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.119, allocations: 88.92 kB / 364.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.1191, allocations: 7.984 kB / 364.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.1193, allocations: 12.06 kB / 364.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.1194, allocations: 23.92 kB / 364.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.1194, allocations: 8 kB / 364.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.744e-05/0.1195, allocations: 107.2 kB / 365.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1195, allocations: 0 / 365.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000368/0.1199, allocations: 60 kB / 365.1 MB, free: 13 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.001128/0.121, allocations: 0.9614 MB / 366.1 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005289/0.1215, allocations: 217.1 kB / 366.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1216, allocations: 0 / 366.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.1218, allocations: 91.88 kB / 366.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.1222, allocations: 48.59 kB / 366.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1243, allocations: 1.233 MB / 367.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1246, allocations: 0.7169 MB / 368.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002714/0.1249, allocations: 45.94 kB / 368.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.125, allocations: 47.47 kB / 368.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.125, allocations: 0 / 368.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.1385, allocations: 4.086 MB / 372.5 MB, free: 5.516 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.1386, allocations: 185.5 kB / 372.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/1.935, allocations: 0 / 372.7 MB, free: 5.266 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat