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.001078/0.001078, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.521/1.521, allocations: 221.3 MB / 235.5 MB, free: 2.898 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.0009686/0.0009684, allocations: 87.92 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.665e-05, allocations: 0 / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 50.4 MB / 394.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3825/0.4981, allocations: 79.06 MB / 473.4 MB, free: 8.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4984, allocations: 67.97 kB / 473.5 MB, free: 8.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.5158, allocations: 6.162 MB / 479.6 MB, free: 2.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5159, allocations: 0 / 479.6 MB, free: 2.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.5159, allocations: 0 / 479.6 MB, free: 2.207 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.0004806/0.5164, allocations: 434.2 kB / 480 MB, free: 1.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5164, allocations: 8.031 kB / 480 MB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.001e-05/0.5165, allocations: 109.8 kB / 480.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.5166, allocations: 83.23 kB / 480.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.5167, allocations: 251.1 kB / 480.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.5168, allocations: 150.6 kB / 480.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/0.5169, allocations: 154.6 kB / 480.8 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.206e-05/0.5169, allocations: 101 kB / 480.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.517, allocations: 75.28 kB / 480.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.517, allocations: 154.6 kB / 481.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.5171, allocations: 154.5 kB / 481.2 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.783e-05/0.5172, allocations: 154.6 kB / 481.4 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.5175, allocations: 449.9 kB / 481.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.829e-05/0.5176, allocations: 169.1 kB / 482 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.5177, allocations: 80.14 kB / 482.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.5177, allocations: 79.28 kB / 482.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.5179, allocations: 51.27 kB / 482.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.535e-06/0.5179, allocations: 0 / 482.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.518, allocations: 37.69 kB / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.518, allocations: 59.3 kB / 482.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.5182, allocations: 96.98 kB / 482.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.5182, allocations: 29.7 kB / 482.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.5182, allocations: 80.14 kB / 482.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.5183, allocations: 0 / 482.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.5183, allocations: 0 / 482.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5184, allocations: 314.8 kB / 482.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.5184, allocations: 4.031 kB / 482.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.5185, allocations: 4 kB / 482.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.402e-05/0.5185, allocations: 0 / 482.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5185, allocations: 0 / 482.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.658e-05/0.5186, allocations: 41.64 kB / 482.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5186, allocations: 5.406 kB / 482.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5186, allocations: 0 / 482.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5186, allocations: 3.938 kB / 482.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.227e-05/0.5187, allocations: 0 / 482.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5187, allocations: 8.078 kB / 482.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.5187, allocations: 3.953 kB / 482.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.5187, allocations: 4.703 kB / 482.9 MB, free: 14.7 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 () * 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 8.626e-05/0.5188, allocations: 101 kB / 483 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.5188, allocations: 0 / 483 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.5189, allocations: 3.125 kB / 483 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.5189, allocations: 4 kB / 483 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5189, allocations: 0 / 483 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5189, allocations: 0 / 483 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.5191, allocations: 153.6 kB / 483.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5191, allocations: 8 kB / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-06/0.5191, allocations: 0 / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.5191, allocations: 0 / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.5191, allocations: 0 / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5191, allocations: 0 / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5191, allocations: 3.938 kB / 483.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.96e-05/0.5192, allocations: 68.98 kB / 483.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.5193, allocations: 81.14 kB / 483.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.5193, allocations: 0 / 483.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.6e-05/0.5193, allocations: 3.984 kB / 483.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.5193, allocations: 4 kB / 483.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.5194, allocations: 4 kB / 483.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.698e-05/0.5194, allocations: 79.28 kB / 483.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5194, allocations: 0 / 483.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005893/0.52, allocations: 151.9 kB / 483.5 MB, free: 13.95 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 () * 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.001353/0.5214, allocations: 1.007 MB / 484.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.063e-05/0.5215, allocations: 7.938 kB / 484.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5215, allocations: 0 / 484.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-06/0.5215, allocations: 0 / 484.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.5216, allocations: 4 kB / 484.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.522, allocations: 166.4 kB / 484.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.5223, allocations: 0.6731 MB / 485.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.882e-05/0.5223, allocations: 20.11 kB / 485.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.5224, allocations: 19.42 kB / 485.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5224, allocations: 3.938 kB / 485.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.5403, allocations: 3.663 MB / 489.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/0.5406, allocations: 187.1 kB / 489.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.235, allocations: 0 / 489.3 MB, free: 8.238 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