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.001175/0.001175, allocations: 101 kB / 16.94 MB, free: 5.98 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.001267/0.001267, allocations: 178.1 kB / 17.82 MB, free: 5.652 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.576/1.576, 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.0005025/0.0005028, allocations: 8 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1097, allocations: 47.58 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002602/0.1124, allocations: 1.984 MB / 330.4 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.1133, allocations: 0.6208 MB / 331 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1135, allocations: 8 kB / 331 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.268e-05/0.1135, allocations: 27.77 kB / 331.1 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.1137, allocations: 67.83 kB / 331.1 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.1139, allocations: 55.81 kB / 331.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.1142, allocations: 175.7 kB / 331.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.1144, allocations: 89.27 kB / 331.4 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1145, allocations: 75.72 kB / 331.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1146, allocations: 99.53 kB / 331.6 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1146, allocations: 12 kB / 331.6 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.1147, allocations: 16 kB / 331.6 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.1148, allocations: 31.84 kB / 331.7 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.1148, allocations: 69.58 kB / 331.7 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.1151, allocations: 187.7 kB / 331.9 MB, free: 484 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1151, allocations: 0 / 331.9 MB, free: 484 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1151, allocations: 4 kB / 331.9 MB, free: 480 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1151, allocations: 0 / 331.9 MB, free: 480 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.0009054/0.116, allocations: 0.5146 MB / 332.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1161, allocations: 8.031 kB / 332.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.23e-05/0.1162, allocations: 58.97 kB / 332.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1163, allocations: 27.72 kB / 332.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1166, allocations: 227.1 kB / 332.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.1166, allocations: 20.44 kB / 332.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.1166, allocations: 24 kB / 332.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.1171, allocations: 229.8 kB / 333 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1171, allocations: 3.938 kB / 333 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.1171, allocations: 15.94 kB / 333 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1171, allocations: 4 kB / 333 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.1175, allocations: 169.7 kB / 333.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.1188, allocations: 0.8322 MB / 334 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.1193, allocations: 170.5 kB / 334.2 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.1193, allocations: 4 kB / 334.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1194, allocations: 34.8 kB / 334.2 MB, free: 13.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.1194, allocations: 0 / 334.2 MB, free: 13.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008597/0.1202, allocations: 354.6 kB / 334.6 MB, free: 13.58 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.1203, allocations: 55.41 kB / 334.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1204, allocations: 178.6 kB / 334.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1205, allocations: 29.7 kB / 334.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.1206, allocations: 152 kB / 335 MB, free: 13.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.1206, allocations: 47.34 kB / 335 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.1206, allocations: 4 kB / 335.1 MB, free: 13.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1208, allocations: 330.8 kB / 335.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1209, allocations: 56.34 kB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.1211, allocations: 97 kB / 335.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1213, allocations: 63.94 kB / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1213, allocations: 0 / 335.6 MB, free: 12.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004695/0.1217, allocations: 234 kB / 335.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1218, allocations: 6.812 kB / 335.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.1218, allocations: 4 kB / 335.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.122, allocations: 32.84 kB / 335.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1221, allocations: 35.97 kB / 335.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.1233, allocations: 1.378 MB / 337.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.1235, allocations: 43.88 kB / 337.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1235, allocations: 4 kB / 337.3 MB, free: 10.64 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.0001311/0.1237, allocations: 133.8 kB / 337.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.1237, allocations: 15.81 kB / 337.5 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.1238, allocations: 26.14 kB / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1238, allocations: 4 kB / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1238, allocations: 0 / 337.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1238, allocations: 11.94 kB / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007571/0.1246, allocations: 0.5225 MB / 338 MB, free: 9.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1246, allocations: 3.953 kB / 338 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.1247, allocations: 31.98 kB / 338.1 MB, free: 9.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.1248, allocations: 32.78 kB / 338.1 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1249, allocations: 0 / 338.1 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.1259, allocations: 1.378 MB / 339.5 MB, free: 8.289 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.126, allocations: 3.938 kB / 339.5 MB, free: 8.285 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.1266, allocations: 368.1 kB / 339.8 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1267, allocations: 100.9 kB / 339.9 MB, free: 7.789 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.1267, allocations: 4 kB / 339.9 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.1269, allocations: 32.03 kB / 340 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.127, allocations: 19.91 kB / 340 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.127, allocations: 12 kB / 340 MB, free: 7.723 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.1271, allocations: 120.3 kB / 340.1 MB, free: 7.605 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1271, allocations: 0 / 340.1 MB, free: 7.605 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.1275, allocations: 63.84 kB / 340.2 MB, free: 7.543 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.0008747/0.1283, allocations: 0.9018 MB / 341.1 MB, free: 6.609 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.1289, allocations: 266.8 kB / 341.3 MB, free: 6.336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1289, allocations: 0 / 341.3 MB, free: 6.336 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.1292, allocations: 195.4 kB / 341.5 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.1295, allocations: 36.11 kB / 341.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1317, allocations: 1.833 MB / 343.4 MB, free: 4.203 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.132, allocations: 0.7437 MB / 344.1 MB, free: 3.434 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.028e-05/0.1321, allocations: 17.55 kB / 344.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.1322, allocations: 55.42 kB / 344.2 MB, free: 3.359 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1322, allocations: 0 / 344.2 MB, free: 3.359 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.1489, allocations: 3.935 MB / 348.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.1492, allocations: 214.9 kB / 348.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.932, allocations: 0 / 348.4 MB, free: 15.19 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