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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001757/0.001757, allocations: 195.8 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001035, allocations: 92.42 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.049e-05, allocations: 0 / 350.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1429, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8412/0.9842, allocations: 187.9 MB / 0.5762 GB, free: 116.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.9846, allocations: 77.23 kB / 0.5762 GB, free: 116.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05615/1.041, allocations: 22.9 MB / 0.5986 GB, free: 114.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.704e-06/1.041, allocations: 0 / 0.5986 GB, free: 114.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/1.041, allocations: 0 / 0.5986 GB, free: 114.7 MB / 442.7 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.0005908/1.041, allocations: 447.1 kB / 0.599 GB, free: 114.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.042, allocations: 18.25 kB / 0.5991 GB, free: 114.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/1.042, allocations: 37.62 kB / 0.5991 GB, free: 114.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/1.042, allocations: 32.05 kB / 0.5991 GB, free: 114.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/1.042, allocations: 198.4 kB / 0.5993 GB, free: 114 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/1.042, allocations: 6.594 kB / 0.5993 GB, free: 114 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/1.042, allocations: 6.438 kB / 0.5993 GB, free: 114 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/1.043, allocations: 136.9 kB / 0.5995 GB, free: 114 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.043, allocations: 4 kB / 0.5995 GB, free: 114 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.043, allocations: 6.969 kB / 0.5995 GB, free: 114 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.043, allocations: 6.203 kB / 0.5995 GB, free: 114 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/1.043, allocations: 107 kB / 0.5996 GB, free: 114 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/1.043, allocations: 0.6197 MB / 0.6002 GB, free: 113.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/1.044, allocations: 84.97 kB / 0.6003 GB, free: 113.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/1.044, allocations: 38.83 kB / 0.6003 GB, free: 113.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/1.044, allocations: 0.8069 MB / 0.6011 GB, free: 112.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/1.044, allocations: 34.47 kB / 0.6011 GB, free: 112.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/1.044, allocations: 0 / 0.6011 GB, free: 112.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.000228/1.044, allocations: 102.1 kB / 0.6012 GB, free: 112.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/1.044, allocations: 58.03 kB / 0.6013 GB, free: 112.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/1.044, allocations: 108.6 kB / 0.6014 GB, free: 112.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/1.045, allocations: 28.52 kB / 0.6014 GB, free: 112.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/1.045, allocations: 98.23 kB / 0.6015 GB, free: 112.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/1.045, allocations: 48.34 kB / 0.6015 GB, free: 112.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/1.045, allocations: 3.062 kB / 0.6015 GB, free: 112.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.799e-05/1.045, allocations: 321 kB / 0.6018 GB, free: 111.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/1.045, allocations: 24.59 kB / 0.6019 GB, free: 111.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-05/1.045, allocations: 65.58 kB / 0.6019 GB, free: 111.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/1.045, allocations: 33.77 kB / 0.602 GB, free: 111.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.045, allocations: 4 kB / 0.602 GB, free: 111.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000176/1.045, allocations: 143.6 kB / 0.6021 GB, free: 111.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.045, allocations: 3.156 kB / 0.6021 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.045, allocations: 3.156 kB / 0.6021 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.045, allocations: 0 / 0.6021 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/1.045, allocations: 31.34 kB / 0.6021 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.045, allocations: 4.953 kB / 0.6021 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/1.045, allocations: 18.81 kB / 0.6022 GB, free: 111.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/1.045, allocations: 13.97 kB / 0.6022 GB, free: 111.6 MB / 442.7 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 () * 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 7.237e-05/1.045, allocations: 111.3 kB / 0.6023 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/1.045, allocations: 15.75 kB / 0.6023 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/1.046, allocations: 137.7 kB / 0.6024 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/1.046, allocations: 0 / 0.6024 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.046, allocations: 7.312 kB / 0.6024 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.046, allocations: 3.938 kB / 0.6024 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/1.046, allocations: 389.5 kB / 0.6028 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.046, allocations: 3.188 kB / 0.6028 GB, free: 111.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/1.046, allocations: 24.56 kB / 0.6028 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.046, allocations: 4 kB / 0.6028 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.046, allocations: 7.156 kB / 0.6028 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/1.046, allocations: 3.891 kB / 0.6029 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.046, allocations: 1.641 kB / 0.6029 GB, free: 111.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/1.046, allocations: 195.6 kB / 0.603 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/1.046, allocations: 103.4 kB / 0.6031 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/1.046, allocations: 0 / 0.6031 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/1.047, allocations: 5.719 kB / 0.6031 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/1.047, allocations: 7.797 kB / 0.6032 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/1.047, allocations: 9.844 kB / 0.6032 GB, free: 110.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.708e-05/1.047, allocations: 96.05 kB / 0.6033 GB, free: 110.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.047, allocations: 4 kB / 0.6033 GB, free: 110.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003521/1.047, allocations: 71.16 kB / 0.6033 GB, free: 110.8 MB / 442.7 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 () * 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.0004827/1.048, allocations: 0.7991 MB / 0.6041 GB, free: 110.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/1.048, allocations: 79.88 kB / 0.6042 GB, free: 110.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.048, allocations: 0 / 0.6042 GB, free: 110.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.368e-05/1.048, allocations: 38.27 kB / 0.6042 GB, free: 110.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/1.048, allocations: 54.3 kB / 0.6043 GB, free: 110.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/1.048, allocations: 173.4 kB / 0.6044 GB, free: 110 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/1.049, allocations: 0.6982 MB / 0.6051 GB, free: 109.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/1.049, allocations: 26.08 kB / 0.6051 GB, free: 109.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/1.049, allocations: 31.88 kB / 0.6052 GB, free: 109.3 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/1.049, allocations: 4 kB / 0.6052 GB, free: 109.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/1.063, allocations: 3.422 MB / 0.6085 GB, free: 108.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/1.063, allocations: 156.4 kB / 0.6087 GB, free: 108.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.777, allocations: 3.938 kB / 0.6087 GB, free: 108.2 MB / 442.7 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