Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_4_0_0_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 180.9 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008657/0.0008656, allocations: 91.33 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002754, allocations: 11.98 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2478, allocations: 50.4 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3534, allocations: 79.12 MB / 480.7 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.3537, allocations: 75.97 kB / 480.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01848/0.3722, allocations: 6.359 MB / 487.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3723, allocations: 0 / 487.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3723, allocations: 0 / 487.1 MB, free: 10.9 MB / 362.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.0007447/0.3731, allocations: 439 kB / 487.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.813e-05/0.3732, allocations: 12.03 kB / 487.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.749e-05/0.3733, allocations: 109.8 kB / 487.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.3733, allocations: 91.08 kB / 487.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.3736, allocations: 242.3 kB / 488 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.26e-05/0.3737, allocations: 150.6 kB / 488.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.442e-05/0.3738, allocations: 158.5 kB / 488.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.374, allocations: 105 kB / 488.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/0.3741, allocations: 75.28 kB / 488.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/0.3742, allocations: 150.6 kB / 488.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.669e-05/0.3743, allocations: 162.5 kB / 488.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.3744, allocations: 150.6 kB / 488.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.3748, allocations: 449.9 kB / 489.4 MB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3749, allocations: 169.1 kB / 489.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.3749, allocations: 75.28 kB / 489.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.375, allocations: 47.36 kB / 489.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.995e-06/0.3751, allocations: 0 / 489.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.3752, allocations: 45.69 kB / 489.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.3753, allocations: 51.41 kB / 489.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.3754, allocations: 92.95 kB / 489.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3754, allocations: 25.7 kB / 489.9 MB, free: 7.945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.3754, allocations: 88.12 kB / 489.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.3755, allocations: 7.938 kB / 490 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.3755, allocations: 0 / 490 MB, free: 7.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3756, allocations: 314.9 kB / 490.3 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-06/0.3756, allocations: 4 kB / 490.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-06/0.3756, allocations: 0 / 490.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.63e-05/0.3757, allocations: 4 kB / 490.3 MB, free: 7.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3757, allocations: 0 / 490.3 MB, free: 7.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.425e-05/0.3757, allocations: 29.7 kB / 490.3 MB, free: 7.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3758, allocations: 4 kB / 490.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3758, allocations: 3.984 kB / 490.3 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.3758, allocations: 4 kB / 490.3 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.911e-05/0.3758, allocations: 4.094 kB / 490.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3759, allocations: 4 kB / 490.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.779e-05/0.3759, allocations: 0 / 490.3 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3759, allocations: 3.953 kB / 490.3 MB, free: 7.465 MB / 362.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 0.0001125/0.376, allocations: 105.8 kB / 490.4 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.376, allocations: 7.906 kB / 490.4 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.3761, allocations: 11 kB / 490.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3761, allocations: 0 / 490.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3761, allocations: 0 / 490.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3761, allocations: 3.984 kB / 490.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.3763, allocations: 157.6 kB / 490.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3763, allocations: 0 / 490.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-06/0.3763, allocations: 0 / 490.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3763, allocations: 3.984 kB / 490.6 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3763, allocations: 4 kB / 490.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3763, allocations: 0 / 490.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3763, allocations: 0 / 490.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.211e-05/0.3764, allocations: 57.09 kB / 490.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.3765, allocations: 89.09 kB / 490.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3765, allocations: 0 / 490.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/0.3765, allocations: 0 / 490.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.3765, allocations: 0 / 490.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.3765, allocations: 0 / 490.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.3766, allocations: 83.45 kB / 490.8 MB, free: 6.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3766, allocations: 3.938 kB / 490.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006522/0.3772, allocations: 155.9 kB / 491 MB, free: 6.699 MB / 362.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.00177/0.379, allocations: 1.019 MB / 492 MB, free: 5.738 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.3791, allocations: 4 kB / 492 MB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3792, allocations: 0 / 492 MB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-05/0.3792, allocations: 11.92 kB / 492 MB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.3793, allocations: 0 / 492 MB, free: 5.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.3801, allocations: 426.4 kB / 492.4 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3805, allocations: 0.6771 MB / 493.1 MB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.299e-05/0.3805, allocations: 11.92 kB / 493.1 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.3806, allocations: 19.38 kB / 493.1 MB, free: 4.52 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3806, allocations: 0 / 493.1 MB, free: 4.52 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.3993, allocations: 3.648 MB / 496.8 MB, free: 1.004 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.3996, allocations: 220.1 kB / 497 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.113, allocations: 0 / 497 MB, free: 0.7695 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat