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.0007787/0.000779, allocations: 88.77 kB / 16.65 MB, free: 6.535 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.0008784/0.0008785, allocations: 173.9 kB / 17.56 MB, free: 6.184 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.645/1.645, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0005178/0.0005185, allocations: 8 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1084, allocations: 47.59 MB / 328.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002451/0.1109, allocations: 2.15 MB / 330.5 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1119, allocations: 0.6321 MB / 331.1 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.112, allocations: 4 kB / 331.1 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.1121, allocations: 19.84 kB / 331.1 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.1123, allocations: 67.45 kB / 331.2 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.1125, allocations: 47.95 kB / 331.2 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1128, allocations: 254.8 kB / 331.5 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.1129, allocations: 87.31 kB / 331.6 MB, free: 492 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1131, allocations: 87.58 kB / 331.7 MB, free: 404 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1132, allocations: 95.55 kB / 331.7 MB, free: 308 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.1132, allocations: 12 kB / 331.8 MB, free: 296 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.975e-05/0.1133, allocations: 12 kB / 331.8 MB, free: 284 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.1134, allocations: 39.78 kB / 331.8 MB, free: 244 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1135, allocations: 129.1 kB / 331.9 MB, free: 108 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1137, allocations: 243.5 kB / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1138, allocations: 4 kB / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1138, allocations: 0 / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1138, allocations: 4 kB / 332.2 MB, free: 15.86 MB / 286.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.0008458/0.1146, allocations: 0.5146 MB / 332.7 MB, free: 15.29 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1147, allocations: 8.031 kB / 332.7 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1148, allocations: 28.66 kB / 332.7 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.115, allocations: 236.3 kB / 333 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.1151, allocations: 16.81 kB / 333 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.1151, allocations: 20.38 kB / 333 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.1156, allocations: 238.2 kB / 333.2 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1156, allocations: 0 / 333.2 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.1156, allocations: 12 kB / 333.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1156, allocations: 4 kB / 333.2 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.116, allocations: 173.6 kB / 333.4 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.1172, allocations: 0.8282 MB / 334.2 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.1176, allocations: 158.6 kB / 334.4 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.1178, allocations: 88.81 kB / 334.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.1178, allocations: 4 kB / 334.5 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1179, allocations: 30.56 kB / 334.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.1179, allocations: 0 / 334.5 MB, free: 13.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008451/0.1187, allocations: 362.5 kB / 334.9 MB, free: 12.95 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.1188, allocations: 59.34 kB / 334.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1189, allocations: 178.7 kB / 335.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1189, allocations: 25.7 kB / 335.1 MB, free: 12.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.119, allocations: 152 kB / 335.3 MB, free: 12.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.1191, allocations: 59.31 kB / 335.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.1191, allocations: 17.72 kB / 335.4 MB, free: 12.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1192, allocations: 330.8 kB / 335.7 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1194, allocations: 67.89 kB / 335.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.1196, allocations: 88.27 kB / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.1199, allocations: 156.2 kB / 336 MB, free: 11.76 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1199, allocations: 0 / 336 MB, free: 11.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004632/0.1204, allocations: 226.1 kB / 336.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1204, allocations: 14.53 kB / 336.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1204, allocations: 4 kB / 336.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.1206, allocations: 40.95 kB / 336.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1207, allocations: 39.92 kB / 336.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.1218, allocations: 1.366 MB / 337.7 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.122, allocations: 35.81 kB / 337.7 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.122, allocations: 12 kB / 337.7 MB, free: 9.883 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 (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.0001155/0.1221, allocations: 133.8 kB / 337.8 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.1221, allocations: 15.81 kB / 337.9 MB, free: 9.727 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.1222, allocations: 25.86 kB / 337.9 MB, free: 9.703 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1222, allocations: 0 / 337.9 MB, free: 9.703 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1222, allocations: 4 kB / 337.9 MB, free: 9.699 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1222, allocations: 0 / 337.9 MB, free: 9.699 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.1229, allocations: 0.5302 MB / 338.4 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1229, allocations: 0 / 338.4 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1231, allocations: 35.92 kB / 338.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.1232, allocations: 24.84 kB / 338.5 MB, free: 9.047 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1232, allocations: 7.938 kB / 338.5 MB, free: 9.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009157/0.1242, allocations: 1.363 MB / 339.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1242, allocations: 0 / 339.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006203/0.1248, allocations: 376 kB / 340.2 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.1249, allocations: 100.9 kB / 340.3 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1249, allocations: 8 kB / 340.3 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.1251, allocations: 23.92 kB / 340.3 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.1252, allocations: 20.03 kB / 340.4 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1252, allocations: 11.94 kB / 340.4 MB, free: 6.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.1253, allocations: 131.2 kB / 340.5 MB, free: 6.852 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1253, allocations: 0 / 340.5 MB, free: 6.852 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.1256, allocations: 55.84 kB / 340.6 MB, free: 6.797 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 (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.0001051/0.1257, allocations: 101.1 kB / 340.7 MB, free: 6.688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.1262, allocations: 278.4 kB / 340.9 MB, free: 6.402 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1262, allocations: 0 / 340.9 MB, free: 6.402 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.1265, allocations: 198.9 kB / 341.1 MB, free: 6.195 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.1269, allocations: 31.86 kB / 341.2 MB, free: 6.164 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007847/0.1276, allocations: 0.5821 MB / 341.7 MB, free: 5.559 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1279, allocations: 0.7359 MB / 342.5 MB, free: 4.797 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.61e-05/0.128, allocations: 17.55 kB / 342.5 MB, free: 4.781 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1281, allocations: 11.44 kB / 342.5 MB, free: 4.77 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1281, allocations: 4 kB / 342.5 MB, free: 4.766 MB / 286.1 MB Notification: Performance of Templates: time 0.005227/0.1333, allocations: 2.182 MB / 344.7 MB, free: 2.594 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.makefile (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)