Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_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.0009418/0.0009416, allocations: 97.17 kB / 16.94 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.001024/0.001024, allocations: 183 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.54/1.54, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004385/0.0004385, allocations: 8 kB / 280.8 MB, free: 3.664 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1166, allocations: 47.6 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006998/0.1237, allocations: 4.544 MB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.1245, allocations: 0.5262 MB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.1245, allocations: 4 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1247, allocations: 19.89 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.1262, allocations: 0.5065 MB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1265, allocations: 83.88 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1267, allocations: 111.8 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.304e-05/0.1268, allocations: 4 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.1282, allocations: 0.6358 MB / 334.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.1282, allocations: 43.83 kB / 334.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1283, allocations: 4 kB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1298, allocations: 0.8622 MB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.1298, allocations: 27.89 kB / 335.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.1299, allocations: 37.7 kB / 335.8 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.1303, allocations: 183.8 kB / 336 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.1304, allocations: 4 kB / 336 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.1304, allocations: 0 / 336 MB, free: 12.38 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.1304, allocations: 0 / 336 MB, free: 12.38 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.0004944/0.1309, allocations: 395.1 kB / 336.4 MB, free: 11.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.131, allocations: 8.031 kB / 336.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.131, allocations: 42.56 kB / 336.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.1315, allocations: 31.88 kB / 336.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1317, allocations: 198.8 kB / 336.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.1317, allocations: 12 kB / 336.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1317, allocations: 8 kB / 336.7 MB, free: 11.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.132, allocations: 133 kB / 336.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.132, allocations: 0 / 336.8 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.132, allocations: 8 kB / 336.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.132, allocations: 7.891 kB / 336.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.1322, allocations: 107.8 kB / 336.9 MB, free: 11.33 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.0009118/0.1331, allocations: 0.6763 MB / 337.6 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1333, allocations: 86.48 kB / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006927/0.134, allocations: 0.8037 MB / 338.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.134, allocations: 38.56 kB / 338.5 MB, free: 9.449 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.134, allocations: 0 / 338.5 MB, free: 9.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002842/0.1343, allocations: 130.2 kB / 338.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1344, allocations: 51.41 kB / 338.7 MB, free: 9.254 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1345, allocations: 118 kB / 338.8 MB, free: 9.129 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1345, allocations: 25.7 kB / 338.9 MB, free: 9.098 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.1346, allocations: 107.9 kB / 339 MB, free: 8.988 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.1346, allocations: 39.36 kB / 339 MB, free: 8.949 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.1346, allocations: 12 kB / 339 MB, free: 8.938 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1348, allocations: 314.8 kB / 339.3 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.1348, allocations: 27.97 kB / 339.4 MB, free: 8.594 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.135, allocations: 61.14 kB / 339.4 MB, free: 8.516 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/0.1351, allocations: 40.12 kB / 339.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1351, allocations: 0 / 339.5 MB, free: 8.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001981/0.1353, allocations: 137.4 kB / 339.6 MB, free: 8.336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1353, allocations: 8 kB / 339.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.1354, allocations: 384 / 339.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1354, allocations: 7.938 kB / 339.6 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1355, allocations: 36.06 kB / 339.6 MB, free: 8.285 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1355, allocations: 8 kB / 339.6 MB, free: 8.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.1356, allocations: 19.78 kB / 339.7 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.1356, allocations: 8 kB / 339.7 MB, free: 8.25 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.177e-05/0.1357, allocations: 121.8 kB / 339.8 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1358, allocations: 15.86 kB / 339.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.1361, allocations: 142.2 kB / 339.9 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.1361, allocations: 0 / 339.9 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.1361, allocations: 7.984 kB / 340 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1361, allocations: 0 / 340 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.1366, allocations: 394.3 kB / 340.3 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1366, allocations: 0 / 340.3 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.996e-05/0.1367, allocations: 19.98 kB / 340.4 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1367, allocations: 4 kB / 340.4 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1367, allocations: 4 kB / 340.4 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1367, allocations: 7.938 kB / 340.4 MB, free: 7.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1367, allocations: 0 / 340.4 MB, free: 7.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.137, allocations: 203.4 kB / 340.6 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1371, allocations: 100.9 kB / 340.7 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.1372, allocations: 4 kB / 340.7 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1374, allocations: 4 kB / 340.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1374, allocations: 7.984 kB / 340.7 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1374, allocations: 12 kB / 340.7 MB, free: 7.121 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.754e-05/0.1375, allocations: 95.2 kB / 340.8 MB, free: 7.027 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1375, allocations: 0 / 340.8 MB, free: 7.027 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000346/0.1379, allocations: 56 kB / 340.8 MB, free: 6.973 MB / 286.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.0007168/0.1386, allocations: 0.8025 MB / 341.6 MB, free: 6.141 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.1387, allocations: 83.89 kB / 341.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1388, allocations: 0 / 341.7 MB, free: 6.059 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.134e-05/0.1388, allocations: 39.92 kB / 341.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1392, allocations: 47.3 kB / 341.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1406, allocations: 1.414 MB / 343.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1409, allocations: 0.7008 MB / 343.9 MB, free: 3.762 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.141, allocations: 37.02 kB / 344 MB, free: 3.723 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.1411, allocations: 31.41 kB / 344 MB, free: 3.691 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1411, allocations: 0 / 344 MB, free: 3.691 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.1564, allocations: 3.494 MB / 347.5 MB, free: 212 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.1567, allocations: 173.9 kB / 347.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/1.868, allocations: 4 kB / 347.7 MB, free: 15.97 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat