Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 200.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.2 MB / 245 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008809/0.0008805, allocations: 99.91 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002242/0.0002242, allocations: 4 kB / 358 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2261, allocations: 51.49 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09445/0.3207, allocations: 79.92 MB / 489.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3209, allocations: 71.97 kB / 489.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01861/0.3395, allocations: 6.749 MB / 496.2 MB, free: 3.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3396, allocations: 4 kB / 496.2 MB, free: 3.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3396, allocations: 0 / 496.2 MB, free: 3.824 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.0005231/0.3401, allocations: 451 kB / 496.7 MB, free: 3.336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3402, allocations: 8.031 kB / 496.7 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.3402, allocations: 105.8 kB / 496.8 MB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.3403, allocations: 79.27 kB / 496.9 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3405, allocations: 246.3 kB / 497.1 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.3405, allocations: 154.6 kB / 497.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.3406, allocations: 158.5 kB / 497.4 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.789e-05/0.3407, allocations: 108.9 kB / 497.5 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.3407, allocations: 75.28 kB / 497.6 MB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.3408, allocations: 154.5 kB / 497.7 MB, free: 2.207 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.775e-05/0.3408, allocations: 150.6 kB / 497.9 MB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.3409, allocations: 154.6 kB / 498 MB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.3411, allocations: 446 kB / 498.5 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.3412, allocations: 173 kB / 498.6 MB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3412, allocations: 75.28 kB / 498.7 MB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.736e-05/0.3413, allocations: 55.36 kB / 498.8 MB, free: 1.102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.114e-06/0.3413, allocations: 0 / 498.8 MB, free: 1.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001094/0.3415, allocations: 37.69 kB / 498.8 MB, free: 1.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.3415, allocations: 55.34 kB / 498.9 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.3416, allocations: 93 kB / 499 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3416, allocations: 25.7 kB / 499 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.3416, allocations: 84.27 kB / 499.1 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.3417, allocations: 7.156 kB / 499.1 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-06/0.3417, allocations: 0 / 499.1 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3418, allocations: 318.8 kB / 499.4 MB, free: 464 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-06/0.3418, allocations: 0 / 499.4 MB, free: 464 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.3418, allocations: 0 / 499.4 MB, free: 464 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.331e-05/0.3418, allocations: 4 kB / 499.4 MB, free: 460 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3418, allocations: 0 / 499.4 MB, free: 460 kB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.206e-05/0.3419, allocations: 33.61 kB / 499.4 MB, free: 420 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3419, allocations: 8.094 kB / 499.4 MB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3419, allocations: 3.953 kB / 499.4 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.3419, allocations: 4 kB / 499.4 MB, free: 404 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.631e-05/0.342, allocations: 3.938 kB / 499.4 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.342, allocations: 0 / 499.4 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.342, allocations: 0 / 499.4 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.342, allocations: 3.984 kB / 499.4 MB, free: 396 kB / 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 6.749e-05/0.3421, allocations: 113.8 kB / 499.6 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.3421, allocations: 0 / 499.6 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.3421, allocations: 7.125 kB / 499.6 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3421, allocations: 3.953 kB / 499.6 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3421, allocations: 4 kB / 499.6 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.3421, allocations: 0 / 499.6 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.3423, allocations: 149.7 kB / 499.7 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3423, allocations: 0 / 499.7 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-06/0.3423, allocations: 0 / 499.7 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3423, allocations: 0 / 499.7 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3423, allocations: 4 kB / 499.7 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3423, allocations: 3.938 kB / 499.7 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3423, allocations: 7.891 kB / 499.7 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.499e-05/0.3424, allocations: 65.12 kB / 499.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.3424, allocations: 81.3 kB / 499.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.3425, allocations: 0 / 499.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.3425, allocations: 7.969 kB / 499.9 MB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.3425, allocations: 3.953 kB / 499.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3425, allocations: 3.938 kB / 499.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.3425, allocations: 83.31 kB / 500 MB, free: 15.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3426, allocations: 4 kB / 500 MB, free: 15.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005586/0.3431, allocations: 191.8 kB / 0.4884 GB, free: 15.57 MB / 378.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.001293/0.3444, allocations: 1.03 MB / 0.4894 GB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.891e-05/0.3445, allocations: 7.938 kB / 0.4894 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3445, allocations: 0 / 0.4894 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.36e-06/0.3445, allocations: 0 / 0.4894 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.752e-05/0.3446, allocations: 14.3 kB / 0.4895 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.3453, allocations: 462 kB / 0.4899 GB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3455, allocations: 0.6771 MB / 0.4906 GB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.412e-05/0.3456, allocations: 20.11 kB / 0.4906 GB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.3456, allocations: 11.44 kB / 0.4906 GB, free: 13.32 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3456, allocations: 0 / 0.4906 GB, free: 13.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.3631, allocations: 4.066 MB / 0.4946 GB, free: 9.379 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.3634, allocations: 219.7 kB / 0.4948 GB, free: 9.137 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.939, allocations: 0 / 0.4948 GB, free: 9.137 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat does not exist to compare? outputFormat=mat