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.006717/0.006717, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.0015/0.0015, allocations: 199 kB / 16.68 MB, free: 6.375 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.611/1.611, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001194/0.001194, allocations: 53.92 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1259, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004454/0.1304, allocations: 2.451 MB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1321, allocations: 0.6588 MB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.1324, allocations: 4 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.1326, allocations: 39.64 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.1328, allocations: 71.34 kB / 376.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.1332, allocations: 63.91 kB / 376.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.1336, allocations: 258.8 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.1338, allocations: 107.4 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.134, allocations: 99.7 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1342, allocations: 107.5 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.1343, allocations: 20 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.841e-05/0.1344, allocations: 35.92 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.1344, allocations: 47.83 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1346, allocations: 111.5 kB / 377.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.1349, allocations: 267.1 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1349, allocations: 0 / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.135, allocations: 4 kB / 377.5 MB, free: 12.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.135, allocations: 3.938 kB / 377.5 MB, free: 12.96 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.001194/0.1362, allocations: 0.542 MB / 378 MB, free: 12.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1362, allocations: 8.031 kB / 378 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.1364, allocations: 24.66 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.1369, allocations: 236.1 kB / 378.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.1369, allocations: 12.81 kB / 378.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.137, allocations: 24.38 kB / 378.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.1375, allocations: 230.2 kB / 378.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1375, allocations: 4 kB / 378.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.1376, allocations: 8 kB / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1376, allocations: 7.938 kB / 378.6 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.138, allocations: 157.7 kB / 378.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.1394, allocations: 0.8165 MB / 379.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.1399, allocations: 162.7 kB / 379.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.1401, allocations: 72.83 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1401, allocations: 4 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.1401, allocations: 38.56 kB / 379.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.1401, allocations: 0 / 379.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009383/0.1411, allocations: 339.2 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1411, allocations: 55.39 kB / 380.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1413, allocations: 178.6 kB / 380.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.1414, allocations: 29.7 kB / 380.4 MB, free: 9.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1415, allocations: 152 kB / 380.5 MB, free: 9.648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.1415, allocations: 59.19 kB / 380.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.1416, allocations: 33.72 kB / 380.6 MB, free: 9.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1417, allocations: 334.8 kB / 381 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.1419, allocations: 55.91 kB / 381 MB, free: 9.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1421, allocations: 92.25 kB / 381.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.1424, allocations: 145.2 kB / 381.2 MB, free: 8.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1424, allocations: 4 kB / 381.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004706/0.1429, allocations: 214 kB / 381.5 MB, free: 8.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1429, allocations: 4 kB / 381.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1429, allocations: 0 / 381.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.1431, allocations: 40.81 kB / 381.5 MB, free: 8.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1433, allocations: 44.05 kB / 381.5 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.1446, allocations: 1.457 MB / 383 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.1448, allocations: 39.64 kB / 383 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.1449, allocations: 8 kB / 383.1 MB, free: 6.941 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.0001412/0.145, allocations: 133.8 kB / 383.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.145, allocations: 11.91 kB / 383.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1451, allocations: 25.81 kB / 383.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1451, allocations: 4.062 kB / 383.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1451, allocations: 4 kB / 383.2 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1451, allocations: 3.938 kB / 383.2 MB, free: 6.746 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.1459, allocations: 0.5146 MB / 383.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1459, allocations: 0 / 383.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.146, allocations: 27.98 kB / 383.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.1462, allocations: 40.97 kB / 383.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1462, allocations: 0 / 383.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.1474, allocations: 1.469 MB / 385.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1474, allocations: 7.922 kB / 385.3 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/0.148, allocations: 344 kB / 385.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.825e-05/0.1482, allocations: 108.9 kB / 385.7 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.1482, allocations: 8 kB / 385.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1484, allocations: 19.97 kB / 385.8 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.1485, allocations: 19.97 kB / 385.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.1485, allocations: 0 / 385.8 MB, free: 3.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1486, allocations: 128.3 kB / 385.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1486, allocations: 0 / 385.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.149, allocations: 63.84 kB / 386 MB, free: 3.766 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.0001277/0.1491, allocations: 96.05 kB / 386.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.1497, allocations: 263.3 kB / 386.3 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.1497, allocations: 4 kB / 386.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.15, allocations: 194.8 kB / 386.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1504, allocations: 35.86 kB / 386.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008552/0.1512, allocations: 454.5 kB / 387 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1516, allocations: 0.7398 MB / 387.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.053e-05/0.1517, allocations: 17.55 kB / 387.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.1517, allocations: 15.44 kB / 387.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1517, allocations: 0 / 387.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of Templates: time 0.006174/0.1579, allocations: 2.463 MB / 390.2 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)