Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",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.0009941/0.0009943, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.001031/0.001031, allocations: 181.3 kB / 17.19 MB, free: 5.906 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.35/1.35, allocations: 223.2 MB / 241.1 MB, free: 5.371 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002315/0.0002315, allocations: 7.469 kB / 300.8 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09762/0.09786, allocations: 50.42 MB / 351.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00514/0.1031, allocations: 3.509 MB / 354.7 MB, free: 8.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.1039, allocations: 0.5262 MB / 355.3 MB, free: 7.527 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.104, allocations: 0 / 355.3 MB, free: 7.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.1042, allocations: 23.89 kB / 355.3 MB, free: 7.504 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.1054, allocations: 0.5026 MB / 355.8 MB, free: 7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.1057, allocations: 79.83 kB / 355.9 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1058, allocations: 115.8 kB / 356 MB, free: 6.809 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.605e-05/0.1059, allocations: 7.938 kB / 356 MB, free: 6.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.1071, allocations: 0.6475 MB / 356.6 MB, free: 6.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.1072, allocations: 35.84 kB / 356.7 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1072, allocations: 4 kB / 356.7 MB, free: 6.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.1086, allocations: 0.8739 MB / 357.5 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.1087, allocations: 19.91 kB / 357.6 MB, free: 5.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.1088, allocations: 41.7 kB / 357.6 MB, free: 5.172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.1091, allocations: 171.6 kB / 357.8 MB, free: 5.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1091, allocations: 0 / 357.8 MB, free: 5.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1091, allocations: 0 / 357.8 MB, free: 5.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.1091, allocations: 0 / 357.8 MB, free: 5.004 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004381/0.1095, allocations: 399 kB / 358.2 MB, free: 4.566 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1096, allocations: 11.97 kB / 358.2 MB, free: 4.555 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.1096, allocations: 46.48 kB / 358.2 MB, free: 4.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.11, allocations: 39.88 kB / 358.3 MB, free: 4.461 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1103, allocations: 191 kB / 358.4 MB, free: 4.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.1103, allocations: 4 kB / 358.4 MB, free: 4.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1103, allocations: 8 kB / 358.5 MB, free: 4.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1105, allocations: 143.9 kB / 358.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1106, allocations: 0 / 358.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1106, allocations: 0 / 358.6 MB, free: 4.066 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1106, allocations: 8 kB / 358.6 MB, free: 4.059 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.1108, allocations: 107.9 kB / 358.7 MB, free: 3.953 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.1115, allocations: 0.6684 MB / 359.4 MB, free: 3.211 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.1117, allocations: 94.48 kB / 359.5 MB, free: 3.109 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/0.1124, allocations: 0.8076 MB / 360.3 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1124, allocations: 30.56 kB / 360.3 MB, free: 2.078 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.1124, allocations: 0 / 360.3 MB, free: 2.078 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002985/0.1127, allocations: 127.8 kB / 360.4 MB, free: 1.949 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1128, allocations: 63.28 kB / 360.5 MB, free: 1.875 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.1129, allocations: 114 kB / 360.6 MB, free: 1.754 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1129, allocations: 33.7 kB / 360.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.113, allocations: 103.9 kB / 360.7 MB, free: 1.609 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.113, allocations: 43.3 kB / 360.8 MB, free: 1.566 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.113, allocations: 4 kB / 360.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1132, allocations: 318.8 kB / 361.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.59e-05/0.1132, allocations: 23.98 kB / 361.1 MB, free: 1.219 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.1133, allocations: 69.14 kB / 361.2 MB, free: 1.133 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.1134, allocations: 36.23 kB / 361.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1134, allocations: 0 / 361.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001884/0.1136, allocations: 137.1 kB / 361.4 MB, free: 0.957 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1136, allocations: 6.188 kB / 361.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1136, allocations: 8 kB / 361.4 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.1136, allocations: 3.938 kB / 361.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1138, allocations: 35.97 kB / 361.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1138, allocations: 0 / 361.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.1138, allocations: 15.84 kB / 361.4 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.1139, allocations: 11.95 kB / 361.4 MB, free: 0.8789 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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 9.04e-05/0.114, allocations: 125.7 kB / 361.6 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.114, allocations: 11.89 kB / 361.6 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.1143, allocations: 146.5 kB / 361.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1143, allocations: 0 / 361.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1143, allocations: 0 / 361.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1143, allocations: 0 / 361.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.1147, allocations: 390.4 kB / 362.1 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1147, allocations: 0 / 362.1 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1148, allocations: 27.92 kB / 362.1 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1149, allocations: 0 / 362.1 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1149, allocations: 8 kB / 362.1 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1149, allocations: 3.938 kB / 362.1 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1149, allocations: 0 / 362.1 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1151, allocations: 207.4 kB / 362.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.1152, allocations: 104.9 kB / 362.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1152, allocations: 0 / 362.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.136e-05/0.1153, allocations: 8 kB / 362.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.1153, allocations: 11.98 kB / 362.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1153, allocations: 4 kB / 362.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.184e-05/0.1154, allocations: 95.22 kB / 362.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1154, allocations: 0 / 362.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000306/0.1157, allocations: 56 kB / 362.6 MB, free: 15.6 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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.0007392/0.1165, allocations: 0.8015 MB / 363.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1167, allocations: 87.83 kB / 363.5 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1167, allocations: 3.938 kB / 363.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.1167, allocations: 35.98 kB / 363.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1171, allocations: 40.28 kB / 363.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1183, allocations: 1.416 MB / 365 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1186, allocations: 0.697 MB / 365.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.1188, allocations: 37.02 kB / 365.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.1189, allocations: 31.42 kB / 365.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1189, allocations: 4 kB / 365.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.1335, allocations: 3.442 MB / 369.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.1337, allocations: 193.5 kB / 369.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.829, allocations: 2.25 kB / 369.4 MB, free: 8.785 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat