Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009075/0.0009073, allocations: 97.61 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 199 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002751, allocations: 4 kB / 306.8 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1077, allocations: 51.49 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005988/0.1137, allocations: 4.384 MB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000799/0.1145, allocations: 0.5884 MB / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.1146, allocations: 0 / 363.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.1148, allocations: 27.83 kB / 363.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.1161, allocations: 0.5101 MB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.1164, allocations: 83.81 kB / 363.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.1166, allocations: 191.2 kB / 364.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.1167, allocations: 4 kB / 364.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.1179, allocations: 0.6747 MB / 364.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.118, allocations: 47.83 kB / 364.8 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.118, allocations: 4 kB / 364.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.1196, allocations: 0.9326 MB / 365.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.1197, allocations: 23.84 kB / 365.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.1197, allocations: 41.7 kB / 365.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.12, allocations: 175.6 kB / 366 MB, free: 6.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.12, allocations: 4 kB / 366 MB, free: 6.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.12, allocations: 0 / 366 MB, free: 6.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.12, allocations: 0 / 366 MB, free: 6.266 MB / 302.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.0004046/0.1204, allocations: 403 kB / 366.4 MB, free: 5.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1205, allocations: 8.031 kB / 366.4 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.1205, allocations: 46.48 kB / 366.4 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.1209, allocations: 39.88 kB / 366.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.121, allocations: 194.9 kB / 366.7 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1211, allocations: 8 kB / 366.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.1211, allocations: 4 kB / 366.7 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.1213, allocations: 139.4 kB / 366.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1213, allocations: 0 / 366.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1213, allocations: 4 kB / 366.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1214, allocations: 8 kB / 366.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.1216, allocations: 103.9 kB / 366.9 MB, free: 5.215 MB / 302.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.0007546/0.1224, allocations: 0.6567 MB / 367.6 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.1225, allocations: 90.48 kB / 367.7 MB, free: 4.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.1226, allocations: 40.84 kB / 367.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/0.1232, allocations: 0.8115 MB / 368.5 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1232, allocations: 34.56 kB / 368.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.1232, allocations: 0 / 368.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003191/0.1235, allocations: 125.4 kB / 368.7 MB, free: 3.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.1236, allocations: 67.39 kB / 368.7 MB, free: 3.102 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.1237, allocations: 118 kB / 368.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1237, allocations: 25.7 kB / 368.9 MB, free: 2.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.1238, allocations: 99.89 kB / 369 MB, free: 2.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1238, allocations: 47.3 kB / 369 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.1238, allocations: 4 kB / 369 MB, free: 2.793 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.1239, allocations: 318.8 kB / 369.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.124, allocations: 27.98 kB / 369.4 MB, free: 2.445 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.1241, allocations: 65.12 kB / 369.4 MB, free: 2.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.314e-05/0.1241, allocations: 36 kB / 369.5 MB, free: 2.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1241, allocations: 3.938 kB / 369.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001939/0.1243, allocations: 133.5 kB / 369.6 MB, free: 2.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1244, allocations: 18.44 kB / 369.6 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1244, allocations: 0 / 369.6 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1244, allocations: 4 kB / 369.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1245, allocations: 27.98 kB / 369.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1245, allocations: 4 kB / 369.6 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.925e-05/0.1246, allocations: 15.84 kB / 369.7 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1246, allocations: 4 kB / 369.7 MB, free: 2.117 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 8.489e-05/0.1247, allocations: 131 kB / 369.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.1247, allocations: 11.91 kB / 369.8 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.125, allocations: 150.4 kB / 369.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.125, allocations: 0 / 369.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.125, allocations: 0 / 369.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.125, allocations: 0 / 369.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.1255, allocations: 394.1 kB / 370.3 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.1256, allocations: 3.953 kB / 370.3 MB, free: 1.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.1257, allocations: 27.92 kB / 370.4 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.1257, allocations: 4 kB / 370.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1257, allocations: 0 / 370.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1257, allocations: 0 / 370.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1257, allocations: 0 / 370.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.1259, allocations: 203.4 kB / 370.6 MB, free: 1.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.126, allocations: 100.9 kB / 370.7 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.126, allocations: 4 kB / 370.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.1261, allocations: 8 kB / 370.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.1261, allocations: 7.984 kB / 370.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.1261, allocations: 4 kB / 370.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.943e-05/0.1262, allocations: 95.2 kB / 370.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1262, allocations: 0 / 370.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.1265, allocations: 63.94 kB / 370.8 MB, free: 0.8281 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.1657/0.2922, allocations: 0.8021 MB / 371.6 MB, free: 0 / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003577/0.2927, allocations: 79.62 kB / 371.7 MB, free: 20.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2927, allocations: 2.625 kB / 371.7 MB, free: 20.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.2928, allocations: 38.14 kB / 371.8 MB, free: 20.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/0.2934, allocations: 45.55 kB / 371.8 MB, free: 20.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.2949, allocations: 0.6676 MB / 372.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.2951, allocations: 0.6969 MB / 373.2 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.2953, allocations: 30.64 kB / 373.2 MB, free: 19.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.2954, allocations: 35.09 kB / 373.2 MB, free: 19.17 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2954, allocations: 0 / 373.2 MB, free: 19.17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.3116, allocations: 3.584 MB / 376.8 MB, free: 18.89 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001222/0.3118, allocations: 180.2 kB / 377 MB, free: 18.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.131, allocations: 3.938 kB / 377 MB, free: 18.65 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat