Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001512, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.00157/0.00157, allocations: 183.3 kB / 17.2 MB, free: 6.34 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.727/1.727, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0005502/0.0005503, allocations: 12 kB / 280.1 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1167, allocations: 47.58 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002975/0.1197, allocations: 1.984 MB / 329.7 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1211, allocations: 0.6247 MB / 330.3 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.1213, allocations: 4 kB / 330.3 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.039e-05/0.1214, allocations: 23.77 kB / 330.3 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1217, allocations: 75.83 kB / 330.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.122, allocations: 55.81 kB / 330.5 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.1223, allocations: 175.6 kB / 330.6 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.1226, allocations: 85.27 kB / 330.7 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.1227, allocations: 83.7 kB / 330.8 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1229, allocations: 91.61 kB / 330.9 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.1229, allocations: 12 kB / 330.9 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.81e-05/0.123, allocations: 16 kB / 330.9 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.1231, allocations: 31.84 kB / 330.9 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.465e-05/0.1231, allocations: 69.58 kB / 331 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1234, allocations: 183.7 kB / 331.2 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.1234, allocations: 0 / 331.2 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1234, allocations: 0 / 331.2 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1234, allocations: 7.938 kB / 331.2 MB, free: 0.5781 MB / 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.0009456/0.1243, allocations: 0.5224 MB / 331.7 MB, free: 4 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.1244, allocations: 12.08 kB / 331.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.1246, allocations: 23.72 kB / 331.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.1249, allocations: 227.1 kB / 332 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.1249, allocations: 20.39 kB / 332 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.125, allocations: 16 kB / 332 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.1254, allocations: 233.8 kB / 332.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1254, allocations: 0 / 332.2 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.1255, allocations: 12 kB / 332.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1255, allocations: 4 kB / 332.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.1259, allocations: 169.6 kB / 332.4 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.1273, allocations: 0.8322 MB / 333.2 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.1277, allocations: 166.5 kB / 333.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.1277, allocations: 0 / 333.4 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1278, allocations: 30.56 kB / 333.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.163e-06/0.1278, allocations: 4 kB / 333.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009258/0.1287, allocations: 363.1 kB / 333.8 MB, free: 13.76 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1288, allocations: 51.41 kB / 333.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.129, allocations: 174.7 kB / 334 MB, free: 13.51 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.129, allocations: 29.7 kB / 334 MB, free: 13.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1291, allocations: 144.1 kB / 334.2 MB, free: 13.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.1292, allocations: 55.19 kB / 334.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.1292, allocations: 4 kB / 334.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1293, allocations: 330.8 kB / 334.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.1295, allocations: 52.34 kB / 334.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.1297, allocations: 101 kB / 334.7 MB, free: 12.78 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1299, allocations: 59.98 kB / 334.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1299, allocations: 0 / 334.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004934/0.1304, allocations: 237.1 kB / 335 MB, free: 12.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.1304, allocations: 8 kB / 335 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1304, allocations: 0 / 335 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.1306, allocations: 28.84 kB / 335 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1308, allocations: 44.09 kB / 335.1 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.1321, allocations: 1.378 MB / 336.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1323, allocations: 43.8 kB / 336.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1324, allocations: 4 kB / 336.5 MB, free: 10.83 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.0001382/0.1325, allocations: 133.8 kB / 336.6 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.1325, allocations: 19.81 kB / 336.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1326, allocations: 25.86 kB / 336.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1326, allocations: 7.938 kB / 336.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1326, allocations: 0 / 336.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1326, allocations: 0 / 336.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008061/0.1334, allocations: 0.5264 MB / 337.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1335, allocations: 3.938 kB / 337.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1336, allocations: 27.98 kB / 337.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.1337, allocations: 36.73 kB / 337.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1338, allocations: 4 kB / 337.3 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.1348, allocations: 1.366 MB / 338.7 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1348, allocations: 3.938 kB / 338.7 MB, free: 8.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.1354, allocations: 364.4 kB / 339 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1355, allocations: 104.9 kB / 339.1 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.1356, allocations: 8 kB / 339.1 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.1358, allocations: 31.95 kB / 339.2 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.1358, allocations: 19.91 kB / 339.2 MB, free: 7.926 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1359, allocations: 4 kB / 339.2 MB, free: 7.922 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.136, allocations: 128.3 kB / 339.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.136, allocations: 0 / 339.3 MB, free: 7.797 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.1363, allocations: 59.84 kB / 339.4 MB, free: 7.738 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.000123/0.1365, allocations: 95.25 kB / 339.5 MB, free: 7.633 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.137, allocations: 274.7 kB / 339.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.137, allocations: 0 / 339.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.1374, allocations: 199.7 kB / 339.9 MB, free: 7.145 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.1377, allocations: 32.12 kB / 340 MB, free: 7.113 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008915/0.1386, allocations: 0.5517 MB / 340.5 MB, free: 6.539 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.139, allocations: 0.7437 MB / 341.3 MB, free: 5.77 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.367e-05/0.1391, allocations: 13.55 kB / 341.3 MB, free: 5.758 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.1391, allocations: 15.44 kB / 341.3 MB, free: 5.742 MB / 286.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1391, allocations: 4 kB / 341.3 MB, free: 5.738 MB / 286.1 MB Notification: Performance of Templates: time 0.006061/0.1452, allocations: 2.119 MB / 343.4 MB, free: 3.629 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) Environment - environmentSimulation: