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.001458/0.001459, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 221.5 MB / 230.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008372/0.0008373, allocations: 97.83 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.579e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 50.42 MB / 387.5 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3033/0.4055, allocations: 78.37 MB / 465.9 MB, free: 348 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4058, allocations: 72.7 kB / 466 MB, free: 276 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01769/0.4235, allocations: 6.008 MB / 472 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4236, allocations: 0 / 472 MB, free: 10.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.4236, allocations: 4 kB / 472 MB, free: 10.27 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.0005263/0.4241, allocations: 442.2 kB / 472.4 MB, free: 9.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.4242, allocations: 8.031 kB / 472.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.4243, allocations: 79.23 kB / 472.5 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.4245, allocations: 243.1 kB / 472.8 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.4245, allocations: 150.6 kB / 472.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.4246, allocations: 154.6 kB / 473.1 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.347e-05/0.4247, allocations: 154.5 kB / 473.2 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.168e-05/0.4247, allocations: 105 kB / 473.3 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.4248, allocations: 83.22 kB / 473.4 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.4248, allocations: 150.6 kB / 473.5 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.885e-05/0.4249, allocations: 154.5 kB / 473.7 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.4252, allocations: 422.5 kB / 474.1 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.4253, allocations: 177.1 kB / 474.3 MB, free: 7.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.4253, allocations: 80.14 kB / 474.4 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.4254, allocations: 75.28 kB / 474.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.4255, allocations: 51.27 kB / 474.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.645e-06/0.4255, allocations: 0 / 474.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.4256, allocations: 33.69 kB / 474.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4257, allocations: 51.41 kB / 474.6 MB, free: 7.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.4258, allocations: 93 kB / 474.7 MB, free: 7.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.4258, allocations: 29.7 kB / 474.7 MB, free: 7.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.4259, allocations: 80.14 kB / 474.8 MB, free: 7.316 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.4259, allocations: 4.031 kB / 474.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.4259, allocations: 0 / 474.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.426, allocations: 318.8 kB / 475.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.4261, allocations: 0 / 475.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.4261, allocations: 4 kB / 475.1 MB, free: 6.988 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.618e-05/0.4261, allocations: 3.984 kB / 475.1 MB, free: 6.984 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4261, allocations: 0 / 475.1 MB, free: 6.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.249e-05/0.4262, allocations: 33.64 kB / 475.1 MB, free: 6.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.4262, allocations: 8.094 kB / 475.1 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4262, allocations: 4.781 kB / 475.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.4262, allocations: 0 / 475.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.457e-05/0.4263, allocations: 3.938 kB / 475.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.4263, allocations: 0 / 475.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.4263, allocations: 0 / 475.1 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.4263, allocations: 0 / 475.1 MB, free: 6.93 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 () * 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.0001013/0.4264, allocations: 108.9 kB / 475.2 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.12e-05/0.4265, allocations: 33.69 kB / 475.3 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.4265, allocations: 7.938 kB / 475.3 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.4266, allocations: 7.75 kB / 475.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4266, allocations: 4.188 kB / 475.3 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4266, allocations: 0 / 475.3 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4266, allocations: 7.922 kB / 475.3 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.4267, allocations: 134.2 kB / 475.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4268, allocations: 3.938 kB / 475.4 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-06/0.4268, allocations: 4 kB / 475.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4268, allocations: 0 / 475.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.4268, allocations: 0 / 475.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.4268, allocations: 0 / 475.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4268, allocations: 4 kB / 475.4 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.549e-05/0.4269, allocations: 65.08 kB / 475.5 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.4269, allocations: 77.11 kB / 475.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.427, allocations: 0 / 475.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.427, allocations: 3.984 kB / 475.6 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.427, allocations: 0 / 475.6 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.427, allocations: 4 kB / 475.6 MB, free: 6.383 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.4271, allocations: 83.31 kB / 475.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4271, allocations: 0 / 475.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006134/0.4277, allocations: 155.9 kB / 475.8 MB, free: 6.148 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 () * 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.001497/0.4292, allocations: 0.9994 MB / 476.8 MB, free: 5.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.439e-05/0.4293, allocations: 3.938 kB / 476.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4293, allocations: 0 / 476.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-06/0.4293, allocations: 4 kB / 476.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.4294, allocations: 5.656 kB / 476.8 MB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.4299, allocations: 177.4 kB / 477 MB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.4303, allocations: 0.6729 MB / 477.7 MB, free: 4.262 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.4303, allocations: 12.11 kB / 477.7 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.4304, allocations: 19.42 kB / 477.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4304, allocations: 0 / 477.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.4561, allocations: 3.304 MB / 481 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.4563, allocations: 176.8 kB / 481.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.075, allocations: 0 / 481.2 MB, free: 0.7344 MB / 346.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