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.001479/0.001479, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 225.6 MB / 234.8 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 104.1 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.06e-05, allocations: 4 kB / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 51.47 MB / 395.2 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3535/0.4574, allocations: 79.19 MB / 474.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4577, allocations: 72.11 kB / 474.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.4747, allocations: 6.388 MB / 480.9 MB, free: 8.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4748, allocations: 0 / 480.9 MB, free: 8.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.4748, allocations: 0 / 480.9 MB, free: 8.562 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.000476/0.4753, allocations: 441.3 kB / 481.3 MB, free: 8.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4753, allocations: 16.02 kB / 481.3 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.4754, allocations: 75.28 kB / 481.4 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4755, allocations: 242.3 kB / 481.7 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.4756, allocations: 151.4 kB / 481.8 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.4756, allocations: 154.6 kB / 482 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.498e-05/0.4757, allocations: 153.9 kB / 482.1 MB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.133e-05/0.4757, allocations: 104.6 kB / 482.2 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.4757, allocations: 75.28 kB / 482.3 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.4758, allocations: 154.5 kB / 482.4 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.4758, allocations: 162.5 kB / 482.6 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.476, allocations: 428.8 kB / 483 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.523e-05/0.4761, allocations: 165.1 kB / 483.2 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.4761, allocations: 84.14 kB / 483.2 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.4761, allocations: 79.28 kB / 483.3 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.4762, allocations: 48.91 kB / 483.4 MB, free: 5.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.885e-06/0.4762, allocations: 0 / 483.4 MB, free: 5.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001503/0.4764, allocations: 37.59 kB / 483.4 MB, free: 5.902 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.4764, allocations: 51.41 kB / 483.5 MB, free: 5.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.369e-05/0.4765, allocations: 96.42 kB / 483.6 MB, free: 5.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.4765, allocations: 28.98 kB / 483.6 MB, free: 5.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.4766, allocations: 88.17 kB / 483.7 MB, free: 5.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.4766, allocations: 0 / 483.7 MB, free: 5.621 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.4766, allocations: 0 / 483.7 MB, free: 5.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.4767, allocations: 313.9 kB / 484 MB, free: 5.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.4767, allocations: 0 / 484 MB, free: 5.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/0.4767, allocations: 0 / 484 MB, free: 5.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.734e-05/0.4767, allocations: 4 kB / 484 MB, free: 5.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4767, allocations: 0 / 484 MB, free: 5.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.119e-05/0.4768, allocations: 37.75 kB / 484 MB, free: 5.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4768, allocations: 11.88 kB / 484 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4768, allocations: 0 / 484 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4769, allocations: 0 / 484 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.398e-05/0.4769, allocations: 7.953 kB / 484 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4769, allocations: 0 / 484 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.4769, allocations: 0 / 484 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4769, allocations: 0 / 484 MB, free: 5.242 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 6.599e-05/0.477, allocations: 101 kB / 484.1 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.669e-05/0.4771, allocations: 45.56 kB / 484.2 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.4771, allocations: 3.906 kB / 484.2 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.4772, allocations: 7.703 kB / 484.2 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4772, allocations: 0 / 484.2 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.4772, allocations: 0 / 484.2 MB, free: 5.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4772, allocations: 4 kB / 484.2 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.281e-05/0.4773, allocations: 126.2 kB / 484.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4773, allocations: 0 / 484.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-06/0.4773, allocations: 0 / 484.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4773, allocations: 4 kB / 484.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.4773, allocations: 0 / 484.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4773, allocations: 7.969 kB / 484.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4773, allocations: 3.953 kB / 484.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.687e-05/0.4774, allocations: 55.69 kB / 484.4 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.4775, allocations: 84.23 kB / 484.5 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.4775, allocations: 3.125 kB / 484.5 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.4775, allocations: 0 / 484.5 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.4775, allocations: 4.703 kB / 484.5 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4776, allocations: 8.016 kB / 484.5 MB, free: 4.723 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.523e-05/0.4776, allocations: 79.28 kB / 484.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4776, allocations: 0 / 484.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007962/0.4784, allocations: 195.9 kB / 484.8 MB, free: 4.473 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.001766/0.4802, allocations: 1.036 MB / 485.8 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.062e-05/0.4803, allocations: 7.984 kB / 485.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4803, allocations: 0 / 485.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/0.4803, allocations: 0 / 485.8 MB, free: 3.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.4805, allocations: 4 kB / 485.8 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005552/0.481, allocations: 191.2 kB / 486 MB, free: 3.293 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.4812, allocations: 0.6769 MB / 486.7 MB, free: 2.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.127e-05/0.4812, allocations: 8 kB / 486.7 MB, free: 2.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.4813, allocations: 26.3 kB / 486.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4813, allocations: 0 / 486.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.5067, allocations: 3.714 MB / 490.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.5069, allocations: 164.6 kB / 490.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.194, allocations: 7.938 kB / 490.6 MB, free: 14.69 MB / 362.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