Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008103/0.0008103, allocations: 94.55 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009054/0.0009055, allocations: 194.6 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.3 MB / 246 MB, free: 11.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003518, allocations: 8 kB / 306.8 MB, free: 1.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1015, allocations: 51.49 MB / 358.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002555/0.1041, allocations: 2.12 MB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1051, allocations: 0.6469 MB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1053, allocations: 4 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.1054, allocations: 27.78 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.1055, allocations: 59.52 kB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1057, allocations: 55.89 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.106, allocations: 238.9 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.1061, allocations: 82.36 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.1062, allocations: 75.72 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1064, allocations: 103.5 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.1064, allocations: 12 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.1065, allocations: 16 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.1065, allocations: 31.84 kB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.1066, allocations: 69.58 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1068, allocations: 183.7 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1068, allocations: 0 / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1068, allocations: 0 / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1068, allocations: 0 / 362 MB, free: 10.21 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007716/0.1076, allocations: 0.5185 MB / 362.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1076, allocations: 8.031 kB / 362.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.115e-05/0.1077, allocations: 58.97 kB / 362.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.04e-05/0.1078, allocations: 23.72 kB / 362.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1081, allocations: 228.3 kB / 362.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1081, allocations: 20.39 kB / 362.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.1082, allocations: 20 kB / 362.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.1086, allocations: 241.7 kB / 363.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1086, allocations: 7.938 kB / 363.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1086, allocations: 4 kB / 363.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1086, allocations: 4 kB / 363.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.109, allocations: 169.7 kB / 363.3 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.1102, allocations: 0.8399 MB / 364.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.1106, allocations: 162.7 kB / 364.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.1108, allocations: 96.7 kB / 364.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.1108, allocations: 0 / 364.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1108, allocations: 34.56 kB / 364.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.1108, allocations: 0 / 364.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.000823/0.1117, allocations: 353.6 kB / 364.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1117, allocations: 51.41 kB / 364.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1119, allocations: 187.1 kB / 365 MB, free: 6.973 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1119, allocations: 25.7 kB / 365 MB, free: 6.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.112, allocations: 152.1 kB / 365.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.1121, allocations: 47.27 kB / 365.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.1121, allocations: 4 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1122, allocations: 326.8 kB / 365.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1124, allocations: 60.34 kB / 365.6 MB, free: 6.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.1125, allocations: 96.56 kB / 365.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1127, allocations: 63.98 kB / 365.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1127, allocations: 7.891 kB / 365.8 MB, free: 6.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004265/0.1131, allocations: 230.1 kB / 366 MB, free: 5.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1131, allocations: 4 kB / 366 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1132, allocations: 0 / 366 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.1133, allocations: 36.83 kB / 366 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1135, allocations: 31.98 kB / 366.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.1148, allocations: 1.359 MB / 367.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.115, allocations: 51.91 kB / 367.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.115, allocations: 4 kB / 367.5 MB, free: 4.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.1151, allocations: 141.8 kB / 367.6 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.1152, allocations: 15.91 kB / 367.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.1152, allocations: 17.86 kB / 367.6 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1152, allocations: 4 kB / 367.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1153, allocations: 7.938 kB / 367.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1153, allocations: 3.938 kB / 367.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007125/0.116, allocations: 0.5302 MB / 368.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.116, allocations: 0 / 368.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.1161, allocations: 35.94 kB / 368.2 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.1163, allocations: 32.84 kB / 368.3 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.1163, allocations: 11.92 kB / 368.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009881/0.1173, allocations: 1.351 MB / 369.6 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1173, allocations: 0 / 369.6 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.1179, allocations: 377.4 kB / 370 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.118, allocations: 96.94 kB / 370.1 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.118, allocations: 8 kB / 370.1 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.1182, allocations: 28.03 kB / 370.1 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.1183, allocations: 20.11 kB / 370.1 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1183, allocations: 4 kB / 370.1 MB, free: 1.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1184, allocations: 127.2 kB / 370.3 MB, free: 1.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.1184, allocations: 0 / 370.3 MB, free: 1.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.1188, allocations: 59.84 kB / 370.3 MB, free: 1.227 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008595/0.1196, allocations: 0.9043 MB / 371.2 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004929/0.1201, allocations: 270.8 kB / 371.5 MB, free: 16 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1202, allocations: 0 / 371.5 MB, free: 16 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2025/0.3227, allocations: 198.6 kB / 371.7 MB, free: 19.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.3232, allocations: 38.34 kB / 371.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.3255, allocations: 1.239 MB / 373 MB, free: 18.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3259, allocations: 0.7327 MB / 373.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.326, allocations: 16.91 kB / 373.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.3261, allocations: 57.17 kB / 373.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.264e-06/0.3261, allocations: 0 / 373.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.344, allocations: 3.937 MB / 377.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.3442, allocations: 224.7 kB / 377.9 MB, free: 17.78 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.299, allocations: 0 / 377.9 MB, free: 17.78 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat