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.000863/0.0008629, allocations: 94.14 kB / 16.95 MB, free: 6.113 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.0007634/0.0007637, allocations: 175.3 kB / 17.84 MB, free: 5.73 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.45/1.45, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004337/0.0004337, allocations: 8 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09262, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008175/0.1008, allocations: 6.995 MB / 335.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000737/0.1016, allocations: 0.5807 MB / 336 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.1017, allocations: 3.938 kB / 336 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1019, allocations: 27.89 kB / 336.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.1031, allocations: 0.5062 MB / 336.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1033, allocations: 83.84 kB / 336.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.1036, allocations: 191.2 kB / 336.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.1036, allocations: 7.984 kB / 336.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.1048, allocations: 0.6672 MB / 337.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.1049, allocations: 51.83 kB / 337.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1049, allocations: 4 kB / 337.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.1064, allocations: 0.9011 MB / 338.5 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.1064, allocations: 19.92 kB / 338.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.1065, allocations: 41.7 kB / 338.5 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1067, allocations: 175.6 kB / 338.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1068, allocations: 0 / 338.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1068, allocations: 0 / 338.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1068, allocations: 0 / 338.7 MB, free: 9.695 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.0004592/0.1072, allocations: 399 kB / 339.1 MB, free: 9.258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1073, allocations: 8.031 kB / 339.1 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.1074, allocations: 42.56 kB / 339.1 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.1077, allocations: 31.88 kB / 339.2 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1079, allocations: 198.9 kB / 339.4 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.108, allocations: 8 kB / 339.4 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.108, allocations: 8 kB / 339.4 MB, free: 8.918 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.1082, allocations: 133 kB / 339.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1083, allocations: 3.938 kB / 339.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1083, allocations: 8 kB / 339.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1083, allocations: 3.953 kB / 339.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.1085, allocations: 111.9 kB / 339.6 MB, free: 8.645 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.000685/0.1092, allocations: 0.6607 MB / 340.3 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.1093, allocations: 90.42 kB / 340.4 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.341e-05/0.1094, allocations: 48.83 kB / 340.4 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/0.11, allocations: 0.8037 MB / 341.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.11, allocations: 34.56 kB / 341.3 MB, free: 6.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.11, allocations: 0 / 341.3 MB, free: 6.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002795/0.1103, allocations: 129.8 kB / 341.4 MB, free: 6.598 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.1104, allocations: 55.41 kB / 341.4 MB, free: 6.531 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.1105, allocations: 118 kB / 341.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1105, allocations: 25.7 kB / 341.6 MB, free: 6.375 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1105, allocations: 107.9 kB / 341.7 MB, free: 6.266 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.1106, allocations: 39.31 kB / 341.7 MB, free: 6.227 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.1106, allocations: 4 kB / 341.7 MB, free: 6.223 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1107, allocations: 322.8 kB / 342 MB, free: 5.898 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.774e-05/0.1108, allocations: 23.98 kB / 342.1 MB, free: 5.875 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.1108, allocations: 69.12 kB / 342.1 MB, free: 5.789 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.381e-05/0.1109, allocations: 36.44 kB / 342.2 MB, free: 5.754 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1109, allocations: 384 / 342.2 MB, free: 5.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002032/0.1111, allocations: 149.5 kB / 342.3 MB, free: 5.602 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.1112, allocations: 8.031 kB / 342.3 MB, free: 5.594 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1112, allocations: 4 kB / 342.3 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1112, allocations: 7.938 kB / 342.3 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1113, allocations: 27.98 kB / 342.4 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1113, allocations: 0 / 342.4 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.1114, allocations: 15.84 kB / 342.4 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1114, allocations: 8 kB / 342.4 MB, free: 5.531 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 0.0001296/0.1115, allocations: 121.8 kB / 342.5 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1116, allocations: 11.86 kB / 342.5 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.1119, allocations: 142.2 kB / 342.7 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1119, allocations: 4 kB / 342.7 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1119, allocations: 0 / 342.7 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1119, allocations: 0 / 342.7 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.1123, allocations: 398.3 kB / 343 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1123, allocations: 0 / 343 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.627e-05/0.1124, allocations: 35.86 kB / 343.1 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1124, allocations: 0 / 343.1 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1124, allocations: 4 kB / 343.1 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1124, allocations: 0 / 343.1 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1124, allocations: 0 / 343.1 MB, free: 4.762 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.1126, allocations: 207.4 kB / 343.3 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.1127, allocations: 101 kB / 343.4 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.1127, allocations: 0 / 343.4 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.1128, allocations: 8 kB / 343.4 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.1129, allocations: 11.98 kB / 343.4 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1129, allocations: 4 kB / 343.4 MB, free: 4.402 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.355e-05/0.1129, allocations: 99.14 kB / 343.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1129, allocations: 0 / 343.5 MB, free: 4.305 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.1134, allocations: 63.92 kB / 343.6 MB, free: 4.242 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.0006312/0.114, allocations: 0.7905 MB / 344.4 MB, free: 3.422 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.1142, allocations: 88.45 kB / 344.4 MB, free: 3.336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1142, allocations: 0 / 344.4 MB, free: 3.336 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.364e-05/0.1142, allocations: 40.23 kB / 344.5 MB, free: 3.297 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.1147, allocations: 47.41 kB / 344.5 MB, free: 3.254 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.1157, allocations: 0.6595 MB / 345.2 MB, free: 2.535 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1159, allocations: 0.6931 MB / 345.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.1161, allocations: 37.02 kB / 345.9 MB, free: 1.777 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.1162, allocations: 31.42 kB / 346 MB, free: 1.746 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1162, allocations: 0 / 346 MB, free: 1.746 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.1313, allocations: 3.514 MB / 349.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.1316, allocations: 199 kB / 349.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.101, allocations: 0 / 349.7 MB, free: 13.98 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