Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 202.6 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.2 MB / 245 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009012/0.0009015, allocations: 101.7 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4614/0.4614, allocations: 45.22 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003989, allocations: 8 kB / 468.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4602, allocations: 63.24 MB / 0.5193 GB, free: 43.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7602/1.22, allocations: 379.2 MB / 0.8896 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.221, allocations: 77.58 kB / 0.8896 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04797/1.269, allocations: 19.45 MB / 0.9086 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.454e-06/1.269, allocations: 0 / 0.9086 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.525e-05/1.269, allocations: 0 / 0.9086 GB, free: 4.227 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001165/1.27, allocations: 0.569 MB / 0.9092 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/1.27, allocations: 8.031 kB / 0.9092 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.904e-05/1.27, allocations: 60.3 kB / 0.9093 GB, free: 3.566 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/1.27, allocations: 23.72 kB / 0.9093 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/1.271, allocations: 233.3 kB / 0.9095 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/1.271, allocations: 122.1 kB / 0.9096 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/1.271, allocations: 18.81 kB / 0.9096 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/1.271, allocations: 328.6 kB / 0.9099 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.271, allocations: 0 / 0.9099 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/1.271, allocations: 11.75 kB / 0.91 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/1.271, allocations: 15.67 kB / 0.91 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008497/1.272, allocations: 0.7303 MB / 0.9107 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/1.274, allocations: 1.238 MB / 0.9119 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/1.274, allocations: 163.6 kB / 0.9121 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3694/1.644, allocations: 2.772 MB / 0.9148 GB, free: 184.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/1.644, allocations: 36.59 kB / 0.9148 GB, free: 184 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 4.138e-06/1.644, allocations: 1.125 kB / 0.9148 GB, free: 184 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.000476/1.644, allocations: 127.2 kB / 0.9149 GB, free: 184 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/1.644, allocations: 53.62 kB / 0.915 GB, free: 183.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/1.645, allocations: 195.1 kB / 0.9152 GB, free: 183.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/1.645, allocations: 27.27 kB / 0.9152 GB, free: 183.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/1.645, allocations: 211.7 kB / 0.9154 GB, free: 183.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/1.645, allocations: 54.78 kB / 0.9154 GB, free: 183.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/1.645, allocations: 8.406 kB / 0.9154 GB, free: 183.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/1.645, allocations: 327 kB / 0.9158 GB, free: 183.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/1.645, allocations: 46.89 kB / 0.9158 GB, free: 183.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/1.645, allocations: 331.8 kB / 0.9161 GB, free: 182.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/1.646, allocations: 101.7 kB / 0.9162 GB, free: 182.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.646, allocations: 3 kB / 0.9162 GB, free: 182.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000621/1.646, allocations: 377.4 kB / 0.9166 GB, free: 182.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/1.646, allocations: 9.531 kB / 0.9166 GB, free: 182.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.646, allocations: 10.12 kB / 0.9166 GB, free: 182.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/1.646, allocations: 14.84 kB / 0.9166 GB, free: 182.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/1.647, allocations: 98.91 kB / 0.9167 GB, free: 182.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/1.647, allocations: 21.09 kB / 0.9167 GB, free: 182.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/1.647, allocations: 58.11 kB / 0.9168 GB, free: 182.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/1.647, allocations: 33.12 kB / 0.9168 GB, free: 182.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001303/1.647, allocations: 148.5 kB / 0.917 GB, free: 182.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/1.647, allocations: 21.3 kB / 0.917 GB, free: 182.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/1.648, allocations: 172.2 kB / 0.9171 GB, free: 182.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/1.648, allocations: 2.312 kB / 0.9171 GB, free: 182.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.648, allocations: 3.938 kB / 0.9171 GB, free: 182.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.648, allocations: 0 / 0.9171 GB, free: 182.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/1.648, allocations: 431.8 kB / 0.9176 GB, free: 182.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.648, allocations: 1.031 kB / 0.9176 GB, free: 182.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/1.648, allocations: 18.14 kB / 0.9176 GB, free: 182.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/1.648, allocations: 1.969 kB / 0.9176 GB, free: 182.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.648, allocations: 2.094 kB / 0.9176 GB, free: 182.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/1.648, allocations: 2 kB / 0.9176 GB, free: 182.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.648, allocations: 1 kB / 0.9176 GB, free: 182.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/1.649, allocations: 269.2 kB / 0.9178 GB, free: 182.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/1.649, allocations: 115.5 kB / 0.9179 GB, free: 182 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/1.649, allocations: 8.5 kB / 0.918 GB, free: 182 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/1.649, allocations: 6.453 kB / 0.918 GB, free: 182 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/1.649, allocations: 6.438 kB / 0.918 GB, free: 182 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/1.649, allocations: 10.78 kB / 0.918 GB, free: 182 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.928e-05/1.649, allocations: 146.9 kB / 0.9181 GB, free: 181.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/1.649, allocations: 0 / 0.9181 GB, free: 181.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005487/1.65, allocations: 106.5 kB / 0.9182 GB, free: 181.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 1 * 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.0006507/1.65, allocations: 1.115 MB / 0.9193 GB, free: 180.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003193/1.651, allocations: 174.6 kB / 0.9195 GB, free: 180.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.651, allocations: 2.656 kB / 0.9195 GB, free: 180.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/1.651, allocations: 27.94 kB / 0.9195 GB, free: 180.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/1.651, allocations: 47.98 kB / 0.9195 GB, free: 180.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/1.667, allocations: 12.9 MB / 0.9321 GB, free: 173 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/1.668, allocations: 0.737 MB / 0.9329 GB, free: 172.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003035/1.668, allocations: 52.12 kB / 0.9329 GB, free: 172.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/1.668, allocations: 56.3 kB / 0.933 GB, free: 172.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/1.668, allocations: 2.781 kB / 0.933 GB, free: 172.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/1.686, allocations: 4.676 MB / 0.9375 GB, free: 171.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/1.686, allocations: 191.9 kB / 0.9377 GB, free: 171.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/3.567, allocations: 0 / 0.9377 GB, free: 171.6 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat