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.0007289/0.0007289, allocations: 87.75 kB / 16.31 MB, free: 5.684 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.0007728/0.0007728, allocations: 182.8 kB / 17.21 MB, free: 5.602 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.338/1.338, allocations: 223.3 MB / 241.2 MB, free: 5.383 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.0002682, allocations: 5.312 kB / 300.9 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1055, allocations: 50.43 MB / 351.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005387/0.1109, allocations: 4.323 MB / 355.7 MB, free: 7.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007798/0.1117, allocations: 0.5768 MB / 356.2 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.1118, allocations: 0 / 356.2 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.112, allocations: 23.89 kB / 356.3 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.1131, allocations: 0.5062 MB / 356.8 MB, free: 6.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1134, allocations: 90.56 kB / 356.8 MB, free: 6.004 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.1137, allocations: 191.2 kB / 357 MB, free: 5.816 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.1138, allocations: 7.938 kB / 357 MB, free: 5.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.115, allocations: 0.6709 MB / 357.7 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.1151, allocations: 43.78 kB / 357.8 MB, free: 5.094 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1151, allocations: 4 kB / 357.8 MB, free: 5.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1166, allocations: 0.9012 MB / 358.7 MB, free: 4.188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.1166, allocations: 19.91 kB / 358.7 MB, free: 4.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.1167, allocations: 45.64 kB / 358.7 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.117, allocations: 175.6 kB / 358.9 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.117, allocations: 0 / 358.9 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.117, allocations: 0 / 358.9 MB, free: 3.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.117, allocations: 0 / 358.9 MB, free: 3.945 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.0004667/0.1175, allocations: 399.1 kB / 359.3 MB, free: 3.508 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1175, allocations: 15.97 kB / 359.3 MB, free: 3.492 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.1176, allocations: 42.55 kB / 359.3 MB, free: 3.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.1179, allocations: 35.88 kB / 359.4 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.1181, allocations: 194.8 kB / 359.6 MB, free: 3.176 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1182, allocations: 4 kB / 359.6 MB, free: 3.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.1182, allocations: 12 kB / 359.6 MB, free: 3.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.1184, allocations: 133 kB / 359.7 MB, free: 3.012 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1184, allocations: 0 / 359.7 MB, free: 3.012 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1185, allocations: 8 kB / 359.7 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1185, allocations: 3.984 kB / 359.7 MB, free: 3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.1186, allocations: 111.8 kB / 359.8 MB, free: 2.891 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.0006875/0.1193, allocations: 0.6646 MB / 360.5 MB, free: 2.152 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1195, allocations: 86.55 kB / 360.6 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.1196, allocations: 36.84 kB / 360.6 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/0.1202, allocations: 0.8076 MB / 361.4 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1202, allocations: 30.56 kB / 361.5 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1202, allocations: 7.875 kB / 361.5 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002909/0.1205, allocations: 125.8 kB / 361.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.1206, allocations: 63.41 kB / 361.6 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.38e-05/0.1207, allocations: 118 kB / 361.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.1207, allocations: 25.7 kB / 361.8 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.1208, allocations: 103.9 kB / 361.9 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1208, allocations: 35.38 kB / 361.9 MB, free: 492 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.1209, allocations: 8 kB / 361.9 MB, free: 484 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.121, allocations: 318.8 kB / 362.2 MB, free: 156 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.121, allocations: 23.98 kB / 362.3 MB, free: 132 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.1211, allocations: 79.56 kB / 362.3 MB, free: 36 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.218e-05/0.1212, allocations: 28 kB / 362.4 MB, free: 8 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1212, allocations: 0 / 362.4 MB, free: 8 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002501/0.1215, allocations: 143.8 kB / 362.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1215, allocations: 8 kB / 362.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1215, allocations: 0 / 362.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1215, allocations: 4 kB / 362.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1216, allocations: 35.92 kB / 362.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1217, allocations: 7.938 kB / 362.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.1217, allocations: 19.8 kB / 362.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1218, allocations: 4 kB / 362.6 MB, free: 15.79 MB / 302.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.181e-05/0.1219, allocations: 118 kB / 362.7 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1219, allocations: 11.91 kB / 362.7 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.1222, allocations: 142.5 kB / 362.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1222, allocations: 0 / 362.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1222, allocations: 0 / 362.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.1223, allocations: 7.984 kB / 362.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.1227, allocations: 394.3 kB / 363.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1227, allocations: 0 / 363.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.1228, allocations: 19.98 kB / 363.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.1228, allocations: 4 kB / 363.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1228, allocations: 4 kB / 363.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1228, allocations: 0 / 363.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1228, allocations: 3.953 kB / 363.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.123, allocations: 211 kB / 363.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.1231, allocations: 100.9 kB / 363.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1231, allocations: 4 kB / 363.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.1232, allocations: 4 kB / 363.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.1232, allocations: 15.92 kB / 363.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.1233, allocations: 7.953 kB / 363.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.914e-05/0.1233, allocations: 91.27 kB / 363.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1233, allocations: 0 / 363.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.1236, allocations: 52 kB / 363.8 MB, free: 14.52 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.0006413/0.1243, allocations: 0.8021 MB / 364.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.1245, allocations: 79.91 kB / 364.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1245, allocations: 4 kB / 364.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.436e-05/0.1245, allocations: 44.22 kB / 364.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.125, allocations: 35.97 kB / 364.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009307/0.1259, allocations: 0.6727 MB / 365.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.1262, allocations: 0.6931 MB / 366.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.1263, allocations: 41.14 kB / 366.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.1264, allocations: 23.44 kB / 366.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1264, allocations: 0 / 366.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.1405, allocations: 3.484 MB / 369.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.1407, allocations: 202.3 kB / 369.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.064, allocations: 0 / 369.8 MB, free: 8.422 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