Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.008092/0.008092, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.002124/0.002124, allocations: 195.1 kB / 16.67 MB, free: 5.965 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.718/1.718, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.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.001171/0.001171, allocations: 53.98 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1037, allocations: 46.62 MB / 373.1 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003694/0.1075, allocations: 2.459 MB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1088, allocations: 0.651 MB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.109, allocations: 4 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.1091, allocations: 35.64 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1093, allocations: 67.34 kB / 376.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1096, allocations: 67.84 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.11, allocations: 258.8 kB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.1103, allocations: 107.4 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.1104, allocations: 99.64 kB / 376.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.1106, allocations: 107.5 kB / 377 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.1107, allocations: 23.94 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.283e-05/0.1108, allocations: 27.98 kB / 377 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.1108, allocations: 55.83 kB / 377.1 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1109, allocations: 115.4 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1113, allocations: 267 kB / 377.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1113, allocations: 0 / 377.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1113, allocations: 0 / 377.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1113, allocations: 0 / 377.5 MB, free: 12.99 MB / 318.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.00101/0.1123, allocations: 0.542 MB / 378 MB, free: 12.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1124, allocations: 8.031 kB / 378 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1125, allocations: 24.66 kB / 378 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1128, allocations: 232.1 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1129, allocations: 24.81 kB / 378.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1129, allocations: 24.36 kB / 378.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.1134, allocations: 234.1 kB / 378.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1134, allocations: 0 / 378.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.1134, allocations: 4 kB / 378.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1134, allocations: 8 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.1138, allocations: 157.7 kB / 378.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.115, allocations: 0.8165 MB / 379.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.1154, allocations: 162.5 kB / 379.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.1156, allocations: 80.83 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.1156, allocations: 0 / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1157, allocations: 34.56 kB / 379.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.1157, allocations: 0 / 379.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.000887/0.1166, allocations: 347.6 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.1166, allocations: 55.41 kB / 380.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1168, allocations: 170.6 kB / 380.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1168, allocations: 29.7 kB / 380.4 MB, free: 9.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.1169, allocations: 152.1 kB / 380.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.117, allocations: 51.2 kB / 380.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.117, allocations: 41.7 kB / 380.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1172, allocations: 330.7 kB / 381 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1173, allocations: 55.97 kB / 381 MB, free: 9.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.1175, allocations: 92.25 kB / 381.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.1178, allocations: 144.1 kB / 381.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1178, allocations: 0 / 381.2 MB, free: 8.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005294/0.1183, allocations: 218 kB / 381.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1184, allocations: 8.125 kB / 381.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1184, allocations: 3.938 kB / 381.5 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.1186, allocations: 40.77 kB / 381.5 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1187, allocations: 31.98 kB / 381.5 MB, free: 8.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.12, allocations: 1.465 MB / 383 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.1202, allocations: 35.7 kB / 383 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.1202, allocations: 12 kB / 383 MB, free: 6.965 MB / 318.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 (onOffController.y,$PRE.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.1204, allocations: 141.8 kB / 383.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.1204, allocations: 11.91 kB / 383.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.1205, allocations: 21.88 kB / 383.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1205, allocations: 0 / 383.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1205, allocations: 4 kB / 383.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1205, allocations: 7.922 kB / 383.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.1212, allocations: 0.5148 MB / 383.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1212, allocations: 4 kB / 383.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1213, allocations: 27.98 kB / 383.8 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.1215, allocations: 28.83 kB / 383.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1215, allocations: 4 kB / 383.8 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.1225, allocations: 1.473 MB / 385.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1226, allocations: 3.938 kB / 385.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.1232, allocations: 348.1 kB / 385.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-05/0.1233, allocations: 112.8 kB / 385.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1233, allocations: 3.984 kB / 385.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.1235, allocations: 19.98 kB / 385.8 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.1236, allocations: 20.03 kB / 385.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1236, allocations: 4 kB / 385.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.1237, allocations: 124.3 kB / 385.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.1237, allocations: 0 / 385.9 MB, free: 3.848 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.124, allocations: 67.78 kB / 386 MB, free: 3.781 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001163/0.1242, allocations: 95.98 kB / 386.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005198/0.1247, allocations: 266.6 kB / 386.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1247, allocations: 0 / 386.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.125, allocations: 194.5 kB / 386.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1253, allocations: 39.84 kB / 386.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.1261, allocations: 458.6 kB / 387 MB, free: 2.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1264, allocations: 0.732 MB / 387.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.322e-05/0.1265, allocations: 17.55 kB / 387.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.1265, allocations: 15.44 kB / 387.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1265, allocations: 0 / 387.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of Templates: time 0.005593/0.1321, allocations: 2.459 MB / 390.2 MB, free: 15.43 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)