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.001326/0.001326, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.503/1.503, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0009936/0.0009937, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.381e-05, allocations: 7.984 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.09928, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3174/0.4167, allocations: 77.94 MB / 448 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.417, allocations: 67.03 kB / 448.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.4338, allocations: 6.083 MB / 454.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4338, allocations: 0 / 454.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.387e-06/0.4339, allocations: 0 / 454.2 MB, free: 10.41 MB / 330.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.0006473/0.4345, allocations: 436.5 kB / 454.6 MB, free: 9.945 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.723e-05/0.4346, allocations: 12.03 kB / 454.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.448e-05/0.4347, allocations: 109.8 kB / 454.7 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.4348, allocations: 76.06 kB / 454.8 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.435, allocations: 249.5 kB / 455.1 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.4351, allocations: 150.6 kB / 455.2 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.4351, allocations: 158.5 kB / 455.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.195e-05/0.4352, allocations: 104.9 kB / 455.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.4353, allocations: 79.22 kB / 455.5 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.4353, allocations: 150.6 kB / 455.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.4354, allocations: 153.8 kB / 455.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/0.4355, allocations: 154.6 kB / 456 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.4358, allocations: 449.3 kB / 456.4 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.4359, allocations: 173.1 kB / 456.6 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.436, allocations: 84.14 kB / 456.7 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.436, allocations: 75.28 kB / 456.7 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.4361, allocations: 54.61 kB / 456.8 MB, free: 7.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 3.326e-06/0.4361, allocations: 0 / 456.8 MB, free: 7.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.4363, allocations: 29.7 kB / 456.8 MB, free: 7.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.4363, allocations: 55.34 kB / 456.9 MB, free: 7.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.4364, allocations: 100.5 kB / 457 MB, free: 7.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4365, allocations: 25.7 kB / 457 MB, free: 7.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.4365, allocations: 80.14 kB / 457.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.4365, allocations: 4.031 kB / 457.1 MB, free: 7.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.4365, allocations: 0 / 457.1 MB, free: 7.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4367, allocations: 313.8 kB / 457.4 MB, free: 7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.4367, allocations: 4 kB / 457.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.4367, allocations: 0 / 457.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.218e-05/0.4367, allocations: 0 / 457.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4367, allocations: 0 / 457.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.044e-05/0.4368, allocations: 41.62 kB / 457.4 MB, free: 6.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4368, allocations: 12.05 kB / 457.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4368, allocations: 0 / 457.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4368, allocations: 0 / 457.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.149e-05/0.4369, allocations: 3.938 kB / 457.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4369, allocations: 0 / 457.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.4369, allocations: 0 / 457.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.4369, allocations: 8 kB / 457.5 MB, free: 6.926 MB / 330.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 () * 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.456e-05/0.437, allocations: 104.6 kB / 457.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.437, allocations: 0 / 457.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.437, allocations: 15.03 kB / 457.6 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4371, allocations: 4 kB / 457.6 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4371, allocations: 3.984 kB / 457.6 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4371, allocations: 0 / 457.6 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.4372, allocations: 149.6 kB / 457.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.4372, allocations: 0 / 457.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-06/0.4372, allocations: 0 / 457.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4372, allocations: 3.984 kB / 457.7 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.4372, allocations: 0 / 457.7 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4373, allocations: 3.953 kB / 457.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4373, allocations: 0 / 457.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.631e-05/0.4373, allocations: 68.48 kB / 457.8 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.4374, allocations: 88.45 kB / 457.9 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.4374, allocations: 0 / 457.9 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.4374, allocations: 4 kB / 457.9 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.4375, allocations: 3.953 kB / 457.9 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.4375, allocations: 0 / 457.9 MB, free: 6.402 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.878e-05/0.4375, allocations: 79.28 kB / 458 MB, free: 6.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4375, allocations: 4.031 kB / 458 MB, free: 6.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005087/0.438, allocations: 150.8 kB / 458.1 MB, free: 6.184 MB / 330.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 () * 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.001341/0.4394, allocations: 0.9846 MB / 459.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.087e-05/0.4395, allocations: 11.44 kB / 459.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4395, allocations: 0 / 459.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-06/0.4395, allocations: 4 kB / 459.1 MB, free: 5.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.4396, allocations: 7.891 kB / 459.1 MB, free: 5.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.44, allocations: 179.9 kB / 459.3 MB, free: 4.965 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.4403, allocations: 0.677 MB / 460 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.773e-05/0.4403, allocations: 7.984 kB / 460 MB, free: 4.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.4404, allocations: 11.56 kB / 460 MB, free: 4.242 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4404, allocations: 4 kB / 460 MB, free: 4.238 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.4589, allocations: 3.66 MB / 463.7 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.4591, allocations: 192.1 kB / 463.9 MB, free: 360 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.111, allocations: 3.938 kB / 463.9 MB, free: 356 kB / 330.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