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.008243/0.008243, allocations: 101.7 kB / 15.73 MB, free: 5.953 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.001451/0.001451, allocations: 187 kB / 16.67 MB, free: 5.883 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.561/1.561, allocations: 205.1 MB / 222.5 MB, free: 4.348 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.001164/0.001164, allocations: 49.98 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003795/0.1201, allocations: 2.455 MB / 375.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1213, allocations: 0.655 MB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1214, allocations: 4 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.1216, allocations: 31.64 kB / 376.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1218, allocations: 75.33 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.122, allocations: 59.92 kB / 376.4 MB, free: 14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.1223, allocations: 270.8 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.1225, allocations: 99.39 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1226, allocations: 99.62 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1228, allocations: 107.5 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.163e-05/0.1229, allocations: 27.94 kB / 377 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.123, allocations: 27.98 kB / 377.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.123, allocations: 47.84 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1231, allocations: 115.5 kB / 377.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1234, allocations: 259.1 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1235, allocations: 3.938 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1235, allocations: 0 / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1235, allocations: 3.938 kB / 377.5 MB, free: 12.95 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.001004/0.1245, allocations: 0.542 MB / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1246, allocations: 8.031 kB / 378 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.1247, allocations: 28.66 kB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.125, allocations: 240.1 kB / 378.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1251, allocations: 16.81 kB / 378.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.1251, allocations: 20.38 kB / 378.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.1256, allocations: 230.2 kB / 378.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1256, allocations: 3.938 kB / 378.6 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.1257, allocations: 12 kB / 378.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1257, allocations: 4 kB / 378.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.1261, allocations: 157.7 kB / 378.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.1274, allocations: 0.8165 MB / 379.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.1278, allocations: 158.6 kB / 379.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.128, allocations: 80.83 kB / 379.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.128, allocations: 4 kB / 379.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.128, allocations: 42.5 kB / 379.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.128, allocations: 0 / 379.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008823/0.1289, allocations: 335.6 kB / 380.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.129, allocations: 63.33 kB / 380.2 MB, free: 9.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1292, allocations: 178.6 kB / 380.4 MB, free: 9.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1292, allocations: 25.7 kB / 380.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1294, allocations: 148.1 kB / 380.6 MB, free: 9.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.1294, allocations: 59.25 kB / 380.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.1295, allocations: 37.72 kB / 380.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1297, allocations: 330.7 kB / 381 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1298, allocations: 59.97 kB / 381 MB, free: 9.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.13, allocations: 88.25 kB / 381.1 MB, free: 9.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.1303, allocations: 145.2 kB / 381.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1303, allocations: 0 / 381.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004716/0.1308, allocations: 218.1 kB / 381.5 MB, free: 8.652 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1308, allocations: 8 kB / 381.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1309, allocations: 4 kB / 381.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.1311, allocations: 36.83 kB / 381.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1312, allocations: 31.92 kB / 381.5 MB, free: 8.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.1325, allocations: 1.469 MB / 383 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.1327, allocations: 35.61 kB / 383.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.1327, allocations: 8 kB / 383.1 MB, free: 6.918 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.0001809/0.1329, allocations: 145.8 kB / 383.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.133, allocations: 11.91 kB / 383.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.133, allocations: 17.88 kB / 383.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1331, allocations: 4 kB / 383.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1331, allocations: 0 / 383.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1331, allocations: 3.938 kB / 383.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008186/0.1339, allocations: 0.5186 MB / 383.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1339, allocations: 0 / 383.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.1341, allocations: 31.98 kB / 383.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.1342, allocations: 32.83 kB / 383.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1342, allocations: 4 kB / 383.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.1356, allocations: 1.465 MB / 385.3 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.1356, allocations: 7.922 kB / 385.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.1362, allocations: 348.1 kB / 385.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1364, allocations: 108.8 kB / 385.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1364, allocations: 0 / 385.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.1366, allocations: 23.97 kB / 385.8 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.1367, allocations: 24.03 kB / 385.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1367, allocations: 4 kB / 385.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1368, allocations: 128.3 kB / 385.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1368, allocations: 0 / 385.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.1372, allocations: 55.84 kB / 386 MB, free: 3.742 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.0001455/0.1374, allocations: 107.9 kB / 386.1 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.138, allocations: 254.6 kB / 386.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.138, allocations: 0 / 386.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.1383, allocations: 202.5 kB / 386.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1387, allocations: 36.17 kB / 386.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/0.1395, allocations: 458.3 kB / 387 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1399, allocations: 0.732 MB / 387.7 MB, free: 1.883 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.552e-05/0.14, allocations: 13.55 kB / 387.8 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.14, allocations: 15.44 kB / 387.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.14, allocations: 4 kB / 387.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of Templates: time 0.006717/0.1468, allocations: 2.451 MB / 390.2 MB, free: 15.4 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)