Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.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.00878/0.008787, allocations: 96.67 kB / 15.73 MB, free: 6.484 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.001901/0.001901, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.598/1.598, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001821/0.001821, allocations: 49.2 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1279, allocations: 46.62 MB / 373.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005056/0.133, allocations: 2.455 MB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1348, allocations: 0.6549 MB / 376.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.1351, allocations: 4 kB / 376.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1353, allocations: 39.64 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1356, allocations: 67.36 kB / 376.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1359, allocations: 59.91 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.1362, allocations: 266.8 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.1365, allocations: 107.4 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.1366, allocations: 99.59 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1368, allocations: 111.5 kB / 377 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.1369, allocations: 20 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.137, allocations: 27.94 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.137, allocations: 47.83 kB / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1372, allocations: 119.5 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003579/0.1375, allocations: 262.8 kB / 377.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1375, allocations: 0 / 377.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1375, allocations: 0 / 377.5 MB, free: 13.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1376, allocations: 4 kB / 377.5 MB, free: 13 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.0009926/0.1386, allocations: 0.5495 MB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1386, allocations: 8.031 kB / 378 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1387, allocations: 28.75 kB / 378.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.1391, allocations: 236.2 kB / 378.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.1391, allocations: 16.81 kB / 378.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.1392, allocations: 24.36 kB / 378.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.1397, allocations: 238.1 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.1397, allocations: 0 / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.1397, allocations: 8 kB / 378.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.1397, allocations: 8 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.1401, allocations: 153.7 kB / 378.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.1415, allocations: 0.8168 MB / 379.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.1419, allocations: 166.7 kB / 379.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.1421, allocations: 84.81 kB / 379.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1421, allocations: 0 / 379.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1421, allocations: 38.5 kB / 379.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.1421, allocations: 0 / 379.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009331/0.1431, allocations: 335.3 kB / 380.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.1431, allocations: 55.34 kB / 380.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1433, allocations: 182.6 kB / 380.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1433, allocations: 25.7 kB / 380.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1434, allocations: 152.3 kB / 380.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.1435, allocations: 59.48 kB / 380.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.1436, allocations: 37.7 kB / 380.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1437, allocations: 330.8 kB / 381 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1439, allocations: 51.91 kB / 381 MB, free: 9.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.144, allocations: 100.2 kB / 381.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.1443, allocations: 140.1 kB / 381.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1443, allocations: 0 / 381.3 MB, free: 8.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004532/0.1448, allocations: 226.1 kB / 381.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1448, allocations: 4 kB / 381.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1448, allocations: 0 / 381.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.1451, allocations: 32.84 kB / 381.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1452, allocations: 39.91 kB / 381.6 MB, free: 8.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.1465, allocations: 1.461 MB / 383 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1467, allocations: 39.89 kB / 383.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1467, allocations: 8 kB / 383.1 MB, free: 6.957 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.0001529/0.1469, allocations: 133.9 kB / 383.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.1469, allocations: 19.89 kB / 383.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.147, allocations: 25.86 kB / 383.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.147, allocations: 0 / 383.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.147, allocations: 8 kB / 383.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.147, allocations: 3.938 kB / 383.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.1478, allocations: 0.5191 MB / 383.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1478, allocations: 7.984 kB / 383.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1479, allocations: 23.98 kB / 383.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.1481, allocations: 28.84 kB / 383.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1481, allocations: 4 kB / 383.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.1493, allocations: 1.469 MB / 385.3 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1493, allocations: 3.938 kB / 385.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.1499, allocations: 348.1 kB / 385.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1501, allocations: 108.9 kB / 385.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.1501, allocations: 4.125 kB / 385.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.1503, allocations: 23.97 kB / 385.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.1504, allocations: 15.98 kB / 385.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.1504, allocations: 144 / 385.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.845e-05/0.1505, allocations: 132.3 kB / 385.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1505, allocations: 0 / 385.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1508, allocations: 59.89 kB / 386 MB, free: 3.777 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.0001282/0.151, allocations: 108 kB / 386.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006442/0.1516, allocations: 266.4 kB / 386.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1517, allocations: 0 / 386.4 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.152, allocations: 190.8 kB / 386.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1523, allocations: 35.86 kB / 386.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.1532, allocations: 462 kB / 387 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1535, allocations: 0.7359 MB / 387.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.116e-05/0.1536, allocations: 13.55 kB / 387.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.539e-05/0.1536, allocations: 19.44 kB / 387.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1536, allocations: 0 / 387.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of Templates: time 0.005969/0.1596, allocations: 2.459 MB / 390.3 MB, free: 15.41 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)