Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001331/0.001331, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008735/0.0008735, allocations: 95.75 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 4 kB / 328.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2573, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0851/0.3425, allocations: 78.03 MB / 453.9 MB, free: 2.629 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.3427, allocations: 71.97 kB / 454 MB, free: 2.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.36, allocations: 6.302 MB / 460.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.36, allocations: 0 / 460.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.36, allocations: 0 / 460.3 MB, free: 12.25 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000521/0.3605, allocations: 439 kB / 460.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3606, allocations: 12.03 kB / 460.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.3607, allocations: 109.8 kB / 460.8 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.3607, allocations: 79.28 kB / 460.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3609, allocations: 246.3 kB / 461.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/0.361, allocations: 150.6 kB / 461.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.361, allocations: 154.5 kB / 461.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.904e-05/0.3611, allocations: 104.9 kB / 461.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.3611, allocations: 79.28 kB / 461.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.3612, allocations: 150.6 kB / 461.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.6e-05/0.3613, allocations: 150.6 kB / 461.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.77e-05/0.3614, allocations: 158.6 kB / 462.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.3617, allocations: 445.9 kB / 462.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.457e-05/0.3618, allocations: 173.1 kB / 462.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3618, allocations: 79.28 kB / 462.8 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.3619, allocations: 47.36 kB / 462.8 MB, free: 9.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 4.208e-06/0.3619, allocations: 0 / 462.8 MB, free: 9.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.362, allocations: 41.58 kB / 462.9 MB, free: 9.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.3621, allocations: 51.41 kB / 462.9 MB, free: 9.438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.3622, allocations: 96.98 kB / 463 MB, free: 9.336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.3622, allocations: 33.64 kB / 463 MB, free: 9.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.3622, allocations: 80.14 kB / 463.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.3623, allocations: 4 kB / 463.1 MB, free: 9.211 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.3623, allocations: 0 / 463.1 MB, free: 9.211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3624, allocations: 310.9 kB / 463.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.3624, allocations: 8.125 kB / 463.4 MB, free: 8.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.3624, allocations: 4 kB / 463.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.232e-05/0.3624, allocations: 0 / 463.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3624, allocations: 0 / 463.4 MB, free: 8.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.176e-05/0.3625, allocations: 37.59 kB / 463.5 MB, free: 8.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3625, allocations: 8 kB / 463.5 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3625, allocations: 3.953 kB / 463.5 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3625, allocations: 3.938 kB / 463.5 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.674e-05/0.3626, allocations: 0 / 463.5 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3626, allocations: 4.094 kB / 463.5 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.3626, allocations: 0 / 463.5 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.3626, allocations: 0 / 463.5 MB, free: 8.824 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.911e-05/0.3627, allocations: 113.8 kB / 463.6 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.3627, allocations: 0 / 463.6 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.3627, allocations: 7.078 kB / 463.6 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3628, allocations: 11.94 kB / 463.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3628, allocations: 0 / 463.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3628, allocations: 0 / 463.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3629, allocations: 149.7 kB / 463.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3629, allocations: 8 kB / 463.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-06/0.3629, allocations: 3.984 kB / 463.8 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3629, allocations: 0 / 463.8 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3629, allocations: 0 / 463.8 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.363, allocations: 4 kB / 463.8 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.363, allocations: 3.953 kB / 463.8 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.591e-05/0.363, allocations: 57.08 kB / 463.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.3631, allocations: 89.12 kB / 463.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3631, allocations: 192 / 463.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.3631, allocations: 3.938 kB / 463.9 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.3632, allocations: 11.94 kB / 463.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.3632, allocations: 0 / 463.9 MB, free: 8.277 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.003e-05/0.3632, allocations: 83.27 kB / 464 MB, free: 8.195 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3632, allocations: 0 / 464 MB, free: 8.195 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005538/0.3638, allocations: 151.9 kB / 464.2 MB, free: 8.047 MB / 346.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001247/0.365, allocations: 0.9882 MB / 465.2 MB, free: 7.066 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.801e-05/0.3651, allocations: 11.92 kB / 465.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3651, allocations: 0 / 465.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.558e-06/0.3651, allocations: 0 / 465.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.3652, allocations: 4.125 kB / 465.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.3659, allocations: 442.1 kB / 465.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3661, allocations: 0.6771 MB / 466.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.53e-05/0.3662, allocations: 11.98 kB / 466.3 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.3662, allocations: 15.5 kB / 466.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3662, allocations: 0 / 466.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.3823, allocations: 3.648 MB / 470 MB, free: 2.203 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.3825, allocations: 227.2 kB / 470.2 MB, free: 1.953 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.039, allocations: 0 / 470.2 MB, free: 1.953 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat