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.001344/0.001344, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008465/0.0008462, allocations: 90.69 kB / 262.5 MB, free: 1.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.138e-05, allocations: 0 / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 47.58 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.4999, allocations: 77.53 MB / 440.7 MB, free: 1.832 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.5002, allocations: 67.66 kB / 440.8 MB, free: 1.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03318/0.5334, allocations: 5.928 MB / 446.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.42e-06/0.5335, allocations: 3.984 kB / 446.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.5335, allocations: 0 / 446.7 MB, free: 13.09 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.000612/0.5341, allocations: 429.1 kB / 447.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.5342, allocations: 8.031 kB / 447.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.5343, allocations: 76.06 kB / 447.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.5345, allocations: 250.2 kB / 447.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.5346, allocations: 150.6 kB / 447.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.5346, allocations: 152 kB / 447.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.021e-05/0.5347, allocations: 158.5 kB / 447.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.093e-05/0.5348, allocations: 104.9 kB / 448 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.5349, allocations: 75.28 kB / 448.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-05/0.5349, allocations: 161.9 kB / 448.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.535, allocations: 150.6 kB / 448.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.5353, allocations: 429.6 kB / 448.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.729e-05/0.5354, allocations: 169.1 kB / 448.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.5355, allocations: 84.14 kB / 449 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.5355, allocations: 79.22 kB / 449.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.5356, allocations: 46.91 kB / 449.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 2.725e-06/0.5357, allocations: 0 / 449.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.5358, allocations: 37.59 kB / 449.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.5359, allocations: 51.41 kB / 449.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.895e-05/0.536, allocations: 104.2 kB / 449.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.536, allocations: 25.7 kB / 449.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.536, allocations: 80.14 kB / 449.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.536, allocations: 0 / 449.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.5361, allocations: 0 / 449.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5362, allocations: 314 kB / 449.8 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.5362, allocations: 7.938 kB / 449.8 MB, free: 9.828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.5362, allocations: 0 / 449.8 MB, free: 9.828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.383e-05/0.5362, allocations: 4.062 kB / 449.8 MB, free: 9.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5363, allocations: 0 / 449.8 MB, free: 9.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.357e-05/0.5363, allocations: 33.69 kB / 449.8 MB, free: 9.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.5363, allocations: 8 kB / 449.8 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5364, allocations: 0 / 449.8 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.5364, allocations: 0 / 449.8 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.242e-05/0.5364, allocations: 3.953 kB / 449.8 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.5364, allocations: 0 / 449.8 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.5364, allocations: 0 / 449.8 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.5365, allocations: 0 / 449.8 MB, free: 9.773 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 9.092e-05/0.5366, allocations: 109 kB / 449.9 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.401e-05/0.5366, allocations: 37.62 kB / 450 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.5366, allocations: 3.906 kB / 450 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.5367, allocations: 18.59 kB / 450 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5367, allocations: 0 / 450 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5367, allocations: 0 / 450 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5367, allocations: 0 / 450 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.5368, allocations: 134.2 kB / 450.1 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5369, allocations: 3.938 kB / 450.1 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-06/0.5369, allocations: 4.031 kB / 450.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5369, allocations: 0 / 450.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.5369, allocations: 0 / 450.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5369, allocations: 4 kB / 450.1 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5369, allocations: 3.953 kB / 450.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.479e-05/0.537, allocations: 60 kB / 450.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.5371, allocations: 77.11 kB / 450.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.5371, allocations: 3.625 kB / 450.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.423e-05/0.5371, allocations: 4.031 kB / 450.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.5371, allocations: 7.891 kB / 450.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.5371, allocations: 4 kB / 450.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.182e-05/0.5372, allocations: 83.27 kB / 450.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5372, allocations: 0 / 450.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006231/0.5378, allocations: 154.2 kB / 450.5 MB, free: 9.008 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.001329/0.5392, allocations: 0.9751 MB / 451.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.834e-05/0.5392, allocations: 7.984 kB / 451.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5392, allocations: 4.062 kB / 451.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.827e-06/0.5393, allocations: 0 / 451.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.5394, allocations: 4 kB / 451.5 MB, free: 8.008 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.5398, allocations: 168.9 kB / 451.7 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.5402, allocations: 0.6768 MB / 452.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.5402, allocations: 11.98 kB / 452.3 MB, free: 7.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.5403, allocations: 14.44 kB / 452.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5403, allocations: 64 / 452.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.5689, allocations: 3.307 MB / 455.7 MB, free: 3.777 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.5692, allocations: 163 kB / 455.8 MB, free: 3.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.269, allocations: 0 / 455.8 MB, free: 3.59 MB / 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