Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",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.001416/0.001415, allocations: 95.64 kB / 16.95 MB, free: 6.453 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.001781/0.001781, allocations: 183.4 kB / 17.84 MB, free: 6.008 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.603/1.603, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004427/0.0004427, allocations: 12 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 47.58 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003009/0.1115, allocations: 2.073 MB / 330.5 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1128, allocations: 0.609 MB / 331.1 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1129, allocations: 4 kB / 331.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.1131, allocations: 27.77 kB / 331.2 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1132, allocations: 63.53 kB / 331.2 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1135, allocations: 51.86 kB / 331.3 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1138, allocations: 242.8 kB / 331.5 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.114, allocations: 89.27 kB / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.1141, allocations: 79.72 kB / 331.7 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1142, allocations: 95.55 kB / 331.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1142, allocations: 8 kB / 331.8 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.701e-05/0.1143, allocations: 16 kB / 331.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.1144, allocations: 35.84 kB / 331.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.1144, allocations: 65.58 kB / 331.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.1147, allocations: 187.7 kB / 332.1 MB, free: 340 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1147, allocations: 4 kB / 332.1 MB, free: 336 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1147, allocations: 0 / 332.1 MB, free: 336 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1147, allocations: 0 / 332.1 MB, free: 336 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008894/0.1156, allocations: 0.5146 MB / 332.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1157, allocations: 12.03 kB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.39e-05/0.1158, allocations: 58.98 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.1159, allocations: 27.7 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1162, allocations: 235.1 kB / 332.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.1163, allocations: 16.38 kB / 332.9 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.1163, allocations: 24 kB / 333 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004651/0.1168, allocations: 229.8 kB / 333.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1168, allocations: 0 / 333.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.1169, allocations: 12 kB / 333.2 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1169, allocations: 4 kB / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.1173, allocations: 169.7 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.1185, allocations: 0.8361 MB / 334.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.1189, allocations: 166.5 kB / 334.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.1191, allocations: 88.77 kB / 334.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1191, allocations: 4 kB / 334.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1192, allocations: 34.52 kB / 334.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.1192, allocations: 0 / 334.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008561/0.12, allocations: 351.3 kB / 334.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1201, allocations: 59.34 kB / 334.9 MB, free: 13.28 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.1203, allocations: 182.5 kB / 335.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1203, allocations: 29.7 kB / 335.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1204, allocations: 152.1 kB / 335.2 MB, free: 12.9 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.1205, allocations: 47.33 kB / 335.3 MB, free: 12.85 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.1205, allocations: 4 kB / 335.3 MB, free: 12.85 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1206, allocations: 330.8 kB / 335.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1208, allocations: 60.34 kB / 335.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1209, allocations: 93 kB / 335.8 MB, free: 12.35 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1211, allocations: 67.92 kB / 335.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1211, allocations: 0 / 335.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005215/0.1216, allocations: 230.1 kB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1217, allocations: 4 kB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1217, allocations: 0 / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.1219, allocations: 32.84 kB / 336.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.122, allocations: 39.91 kB / 336.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.1233, allocations: 1.367 MB / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1235, allocations: 43.91 kB / 337.5 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1235, allocations: 4 kB / 337.5 MB, free: 10.42 MB / 286.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.0001271/0.1237, allocations: 125.8 kB / 337.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.1237, allocations: 15.81 kB / 337.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.56e-05/0.1238, allocations: 25.86 kB / 337.7 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1238, allocations: 8 kB / 337.7 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1238, allocations: 0 / 337.7 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1238, allocations: 7.953 kB / 337.7 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.1246, allocations: 0.5263 MB / 338.2 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1246, allocations: 4 kB / 338.3 MB, free: 9.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1247, allocations: 31.92 kB / 338.3 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.1248, allocations: 28.84 kB / 338.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1249, allocations: 4 kB / 338.3 MB, free: 9.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.1259, allocations: 1.362 MB / 339.7 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1259, allocations: 0 / 339.7 MB, free: 8.082 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.1265, allocations: 373.2 kB / 340 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.81e-05/0.1266, allocations: 105 kB / 340.1 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.1267, allocations: 3.984 kB / 340.1 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.1269, allocations: 35.98 kB / 340.2 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.1269, allocations: 15.97 kB / 340.2 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.127, allocations: 8 kB / 340.2 MB, free: 7.516 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.12e-05/0.127, allocations: 124.3 kB / 340.3 MB, free: 7.395 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1271, allocations: 0 / 340.3 MB, free: 7.395 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.1274, allocations: 63.84 kB / 340.4 MB, free: 7.332 MB / 286.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.000889/0.1283, allocations: 0.9059 MB / 341.3 MB, free: 6.398 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005105/0.1288, allocations: 266.8 kB / 341.6 MB, free: 6.125 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1288, allocations: 0 / 341.6 MB, free: 6.125 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.1291, allocations: 198.5 kB / 341.8 MB, free: 5.918 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1295, allocations: 36.12 kB / 341.8 MB, free: 5.883 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.1314, allocations: 1.237 MB / 343 MB, free: 4.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1318, allocations: 0.7399 MB / 343.8 MB, free: 3.824 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.419e-05/0.1318, allocations: 17.48 kB / 343.8 MB, free: 3.805 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.1319, allocations: 55.42 kB / 343.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.132, allocations: 3.938 kB / 343.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.1478, allocations: 3.949 MB / 347.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.1481, allocations: 216.5 kB / 348 MB, free: 15.56 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.339, allocations: 4.062 kB / 348 MB, free: 15.55 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat