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.0009506/0.0009508, allocations: 94.84 kB / 16.95 MB, free: 6.047 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.001083/0.001083, allocations: 180.4 kB / 17.84 MB, free: 5.684 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.335/1.335, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004735/0.0004737, allocations: 12.94 kB / 280.9 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1123, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001545/0.114, allocations: 0.9142 MB / 329.3 MB, free: 3.074 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.117, allocations: 1.864 MB / 331.2 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.1171, allocations: 0 / 331.2 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.1171, allocations: 4 kB / 331.2 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.1181, allocations: 327.2 kB / 331.5 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.43e-05/0.1181, allocations: 3.984 kB / 331.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.488e-05/0.1182, allocations: 11.98 kB / 331.5 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.1182, allocations: 7.938 kB / 331.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.1183, allocations: 0 / 331.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1184, allocations: 4 kB / 331.6 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1184, allocations: 4 kB / 331.6 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.119, allocations: 399.5 kB / 332 MB, free: 464 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.119, allocations: 3.984 kB / 332 MB, free: 460 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.119, allocations: 25.7 kB / 332 MB, free: 428 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.1193, allocations: 227.6 kB / 332.2 MB, free: 200 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1194, allocations: 0 / 332.2 MB, free: 200 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1194, allocations: 0 / 332.2 MB, free: 200 kB / 270.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1194, allocations: 0 / 332.2 MB, free: 200 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.0004451/0.1198, allocations: 403.5 kB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1199, allocations: 8.031 kB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.556e-05/0.1199, allocations: 105.8 kB / 332.7 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.12, allocations: 79.28 kB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.1202, allocations: 254.3 kB / 333 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.1203, allocations: 158.5 kB / 333.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.1203, allocations: 150.6 kB / 333.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.96e-05/0.1204, allocations: 105 kB / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.1205, allocations: 75.28 kB / 333.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.235e-05/0.1205, allocations: 150.6 kB / 333.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.82e-05/0.1206, allocations: 154.6 kB / 333.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.275e-05/0.1207, allocations: 154.6 kB / 334 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.121, allocations: 449.9 kB / 334.4 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.1211, allocations: 173.1 kB / 334.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.1212, allocations: 84.14 kB / 334.7 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.1212, allocations: 75.28 kB / 334.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.1214, allocations: 43.41 kB / 334.8 MB, free: 13.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/0.1214, allocations: 3.938 kB / 334.8 MB, free: 13.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.1215, allocations: 37.7 kB / 334.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.1216, allocations: 55.53 kB / 334.9 MB, free: 13.33 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.1217, allocations: 97.84 kB / 335 MB, free: 13.22 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1217, allocations: 25.7 kB / 335 MB, free: 13.19 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.1218, allocations: 92.08 kB / 335.1 MB, free: 13.1 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.1218, allocations: 0 / 335.1 MB, free: 13.1 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.1218, allocations: 0 / 335.1 MB, free: 13.1 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.122, allocations: 314.8 kB / 335.4 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.122, allocations: 0 / 335.4 MB, free: 12.78 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.122, allocations: 4 kB / 335.4 MB, free: 12.78 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.78e-05/0.122, allocations: 4 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.122, allocations: 3.938 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.561e-05/0.1221, allocations: 41.56 kB / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1221, allocations: 6.031 kB / 335.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1221, allocations: 4 kB / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1221, allocations: 3.938 kB / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.523e-05/0.1222, allocations: 0 / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1222, allocations: 0 / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.1222, allocations: 0 / 335.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1222, allocations: 4.094 kB / 335.5 MB, free: 12.71 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 0.0001047/0.1223, allocations: 113.8 kB / 335.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.1223, allocations: 3.953 kB / 335.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.1224, allocations: 7.078 kB / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1224, allocations: 0 / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1224, allocations: 0 / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1224, allocations: 4.188 kB / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1226, allocations: 149.7 kB / 335.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1226, allocations: 3.984 kB / 335.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-06/0.1226, allocations: 4 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1226, allocations: 7.953 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1226, allocations: 4 kB / 335.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1226, allocations: 3.938 kB / 335.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1226, allocations: 0 / 335.7 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.486e-05/0.1227, allocations: 57.12 kB / 335.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.1227, allocations: 81.11 kB / 335.9 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1228, allocations: 3.953 kB / 335.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.1228, allocations: 8.016 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.1228, allocations: 0 / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.1228, allocations: 0 / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.684e-05/0.1229, allocations: 79.28 kB / 336 MB, free: 12.09 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1229, allocations: 0 / 336 MB, free: 12.09 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004132/0.1233, allocations: 131.9 kB / 336.1 MB, free: 11.96 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.001214/0.1245, allocations: 0.9552 MB / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.597e-05/0.1246, allocations: 4 kB / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1246, allocations: 0 / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-06/0.1246, allocations: 0 / 337.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.1248, allocations: 11.95 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/0.1254, allocations: 414.5 kB / 337.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1257, allocations: 0.6731 MB / 338.1 MB, free: 9.824 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.1258, allocations: 7.984 kB / 338.2 MB, free: 9.816 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.1258, allocations: 11.44 kB / 338.2 MB, free: 9.805 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1258, allocations: 4.062 kB / 338.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.1433, allocations: 3.667 MB / 341.8 MB, free: 6.125 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/0.1436, allocations: 234.3 kB / 342.1 MB, free: 5.875 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/2.276, allocations: 3.938 kB / 342.1 MB, free: 5.871 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