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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 96.53 kB / 16.94 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009897/0.0009895, allocations: 184.7 kB / 17.83 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004462, allocations: 12 kB / 280.8 MB, free: 3.668 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1056, allocations: 47.59 MB / 328.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.00138/0.1071, allocations: 0.9102 MB / 329.3 MB, free: 3.094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.1102, allocations: 1.854 MB / 331.2 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.1102, allocations: 0 / 331.2 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.1103, allocations: 0 / 331.2 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.1115, allocations: 323.1 kB / 331.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.173e-05/0.1115, allocations: 7.984 kB / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 3.864e-05/0.1116, allocations: 4 kB / 331.5 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.1116, allocations: 3.984 kB / 331.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.1117, allocations: 7.984 kB / 331.5 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.1118, allocations: 7.938 kB / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1118, allocations: 0 / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.1123, allocations: 355.5 kB / 331.9 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.1123, allocations: 3.984 kB / 331.9 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.1124, allocations: 29.7 kB / 331.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1127, allocations: 223.6 kB / 332.1 MB, free: 284 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1127, allocations: 0 / 332.1 MB, free: 284 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1127, allocations: 4 kB / 332.1 MB, free: 280 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1127, allocations: 0 / 332.1 MB, free: 280 kB / 270.1 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.0004061/0.1131, allocations: 399.5 kB / 332.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1132, allocations: 12.03 kB / 332.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.738e-05/0.1133, allocations: 109.8 kB / 332.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.1133, allocations: 75.28 kB / 332.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.1135, allocations: 250.3 kB / 332.9 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.1136, allocations: 158.5 kB / 333.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.1136, allocations: 154.5 kB / 333.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.098e-05/0.1137, allocations: 101 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.1137, allocations: 75.28 kB / 333.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/0.1138, allocations: 150.6 kB / 333.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/0.1139, allocations: 150.6 kB / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.394e-05/0.1139, allocations: 162.5 kB / 333.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.1143, allocations: 445.9 kB / 334.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.792e-05/0.1144, allocations: 173.1 kB / 334.5 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1144, allocations: 75.28 kB / 334.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.1145, allocations: 55.34 kB / 334.6 MB, free: 13.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.884e-06/0.1145, allocations: 0 / 334.6 MB, free: 13.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.1147, allocations: 29.7 kB / 334.6 MB, free: 13.56 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1147, allocations: 51.41 kB / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.1148, allocations: 105.8 kB / 334.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1148, allocations: 25.7 kB / 334.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.1149, allocations: 84.27 kB / 334.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.1149, allocations: 0 / 334.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.1149, allocations: 4 kB / 334.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.115, allocations: 310.8 kB / 335.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.1151, allocations: 4 kB / 335.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.1151, allocations: 7.922 kB / 335.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.231e-05/0.1151, allocations: 3.938 kB / 335.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1151, allocations: 0 / 335.2 MB, free: 12.94 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.417e-05/0.1151, allocations: 45.62 kB / 335.3 MB, free: 12.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1152, allocations: 7.938 kB / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1152, allocations: 0 / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1152, allocations: 0 / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.877e-05/0.1152, allocations: 0 / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1152, allocations: 0 / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.1152, allocations: 4 kB / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1153, allocations: 0 / 335.3 MB, free: 12.88 MB / 286.1 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 8.443e-05/0.1154, allocations: 113.8 kB / 335.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.1154, allocations: 3.953 kB / 335.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.1154, allocations: 15.11 kB / 335.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1154, allocations: 0 / 335.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1154, allocations: 0 / 335.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1154, allocations: 0 / 335.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.1156, allocations: 157.6 kB / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1156, allocations: 0 / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-06/0.1156, allocations: 0 / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1156, allocations: 0 / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.1156, allocations: 7.953 kB / 335.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1156, allocations: 0 / 335.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1156, allocations: 8 kB / 335.6 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.843e-05/0.1157, allocations: 57.12 kB / 335.6 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.1157, allocations: 77.11 kB / 335.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1157, allocations: 4 kB / 335.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.1158, allocations: 7.953 kB / 335.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.1158, allocations: 0 / 335.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1158, allocations: 3.984 kB / 335.7 MB, free: 12.33 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.874e-05/0.1158, allocations: 87.48 kB / 335.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1158, allocations: 0 / 335.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.1162, allocations: 131.9 kB / 335.9 MB, free: 12.11 MB / 286.1 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.001137/0.1174, allocations: 0.9468 MB / 336.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 5.272e-05/0.1175, allocations: 8 kB / 336.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1175, allocations: 0 / 336.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.1175, allocations: 4 kB / 336.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.1176, allocations: 3.953 kB / 336.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.1182, allocations: 410.4 kB / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1184, allocations: 0.6771 MB / 338 MB, free: 9.988 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.735e-05/0.1184, allocations: 7.984 kB / 338 MB, free: 9.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.1185, allocations: 15.42 kB / 338 MB, free: 9.965 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1185, allocations: 0 / 338 MB, free: 9.965 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.1357, allocations: 3.652 MB / 341.7 MB, free: 6.305 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/0.1361, allocations: 225.4 kB / 341.9 MB, free: 6.059 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.041, allocations: 0 / 341.9 MB, free: 6.059 MB / 286.1 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) Environment - environmentSimulation: 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