Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 249.9 MB, free: 13.58 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1003/0.1003, allocations: 22.69 MB / 327.7 MB, free: 2.906 MB / 254.1 MB [Timeout remaining time 90] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") translateModel(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 68.11 kB / 461 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1126, allocations: 58.02 MB / 0.5069 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal): time 0.006095/0.1187, allocations: 4.425 MB / 0.5112 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.208/0.3267, allocations: 1.253 MB / 0.5124 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006199/0.3273, allocations: 17.31 kB / 0.5124 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.3277, allocations: 173 kB / 0.5126 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007233/0.3284, allocations: 446.8 kB / 0.513 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.3292, allocations: 311.5 kB / 0.5133 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.3309, allocations: 2.15 MB / 0.5154 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.3322, allocations: 1.33 MB / 0.5167 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009331/0.3331, allocations: 0.8254 MB / 0.5175 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.3344, allocations: 1.005 MB / 0.5185 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.3348, allocations: 235.9 kB / 0.5187 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.3352, allocations: 236.9 kB / 0.519 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006129/0.3358, allocations: 0.6961 MB / 0.5197 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009298/0.3367, allocations: 0.9191 MB / 0.5206 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.3392, allocations: 2.597 MB / 0.5231 GB, free: 8.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3393, allocations: 5.062 kB / 0.5231 GB, free: 8.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3393, allocations: 0 / 0.5231 GB, free: 8.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.545e-05/0.3393, allocations: 0 / 0.5231 GB, free: 8.941 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.00451/0.3438, allocations: 2.054 MB / 0.5251 GB, free: 7.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3438, allocations: 9.625 kB / 0.5251 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.3442, allocations: 151 kB / 0.5253 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.3455, allocations: 0.865 MB / 0.5261 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.083e-05/0.3456, allocations: 116.9 kB / 0.5262 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.3458, allocations: 139.2 kB / 0.5263 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.3485, allocations: 1.591 MB / 0.5279 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.3485, allocations: 0 / 0.5279 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.3487, allocations: 49.97 kB / 0.5279 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/0.3487, allocations: 27.66 kB / 0.528 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.3509, allocations: 1.42 MB / 0.5294 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009432/0.3604, allocations: 7.132 MB / 0.5363 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004524/0.3649, allocations: 1.865 MB / 0.5381 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.3661, allocations: 0.7107 MB / 0.5388 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.007e-05/0.3661, allocations: 17.75 kB / 0.5389 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.3662, allocations: 44.22 kB / 0.5389 GB, free: 15.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=102): time 2.574e-06/0.3662, allocations: 1.312 kB / 0.5389 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.007434/0.3736, allocations: 3.934 MB / 0.5427 GB, free: 12.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.3737, allocations: 66.72 kB / 0.5428 GB, free: 12.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.3747, allocations: 0.6812 MB / 0.5435 GB, free: 12.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.3749, allocations: 42.14 kB / 0.5435 GB, free: 12.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.3753, allocations: 0.5123 MB / 0.544 GB, free: 11.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005125/0.3758, allocations: 433.9 kB / 0.5444 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004606/0.3762, allocations: 241.5 kB / 0.5446 GB, free: 11.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.3765, allocations: 413.6 kB / 0.545 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.3779, allocations: 0.8528 MB / 0.5459 GB, free: 10.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.3794, allocations: 0.9988 MB / 0.5469 GB, free: 9.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/0.3929, allocations: 4.451 MB / 0.5512 GB, free: 7.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.3929, allocations: 0 / 0.5512 GB, free: 7.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005006/0.3979, allocations: 2.458 MB / 0.5536 GB, free: 5.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.398, allocations: 12.23 kB / 0.5536 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.398, allocations: 8.172 kB / 0.5536 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.3999, allocations: 0.5415 MB / 0.5541 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.4018, allocations: 391.5 kB / 0.5545 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.4215, allocations: 23.05 MB / 0.577 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.423, allocations: 151.2 kB / 0.5772 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.4231, allocations: 48.94 kB / 0.5772 GB, free: 11.64 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: CH.Ec:VARIABLE(flow=false fixed = true ) type: Real CH.Tfo:VARIABLE(min = 0.0 start = CH.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009085/0.424, allocations: 418 kB / 0.5776 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.4243, allocations: 99.39 kB / 0.5777 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/0.4283, allocations: 1.975 MB / 0.5796 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4283, allocations: 12 kB / 0.5797 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4283, allocations: 4 kB / 0.5797 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.4284, allocations: 7.969 kB / 0.5797 GB, free: 9.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006241/0.4346, allocations: 3.545 MB / 0.5831 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4346, allocations: 0 / 0.5831 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/0.4366, allocations: 339.9 kB / 0.5835 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.438, allocations: 480.5 kB / 0.5839 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/0.4382, allocations: 59.97 kB / 0.584 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/0.4563, allocations: 22.17 MB / 0.6056 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4563, allocations: 0 / 0.6056 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005316/0.4616, allocations: 2.735 MB / 0.6083 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/0.462, allocations: 200.2 kB / 0.6085 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.4622, allocations: 63.97 kB / 0.6085 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/0.463, allocations: 51.94 kB / 0.6086 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.4633, allocations: 104.7 kB / 0.6087 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/0.4634, allocations: 31.98 kB / 0.6087 GB, free: 8.965 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006805/0.464, allocations: 483 kB / 0.6092 GB, free: 8.496 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.464, allocations: 0 / 0.6092 GB, free: 8.496 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001637/0.4657, allocations: 0.4993 MB / 0.6097 GB, free: 7.996 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 42 (CH.Tfo,CH.Ec,pipeline.fluidStream.T[1],pipeline.fluidStream.T[2],pipeline.fluidStream.T[3],pipeline.fluidStream.T[4],pipeline.fluidStream.T[5],pipeline.wall.wall.T[1,1],pipeline.wall.wall.T[1,2],pipeline.wall.wall.T[1,3],pipeline.wall.wall.T[2,1],pipeline.wall.wall.T[2,2],pipeline.wall.wall.T[2,3],pipeline.wall.wall.T[3,1],pipeline.wall.wall.T[3,2],pipeline.wall.wall.T[3,3],pipeline.wall.wall.T[4,1],pipeline.wall.wall.T[4,2],pipeline.wall.wall.T[4,3],pipeline.wall.wall.T[5,1],pipeline.wall.wall.T[5,2],pipeline.wall.wall.T[5,3],delivery.fluidStream.T[1],delivery.fluidStream.T[2],delivery.fluidStream.T[3],delivery.fluidStream.T[4],delivery.fluidStream.T[5],delivery.wall.wall.T[1,1],delivery.wall.wall.T[1,2],delivery.wall.wall.T[1,3],delivery.wall.wall.T[2,1],delivery.wall.wall.T[2,2],delivery.wall.wall.T[2,3],delivery.wall.wall.T[3,1],delivery.wall.wall.T[3,2],delivery.wall.wall.T[3,3],delivery.wall.wall.T[4,1],delivery.wall.wall.T[4,2],delivery.wall.wall.T[4,3],delivery.wall.wall.T[5,1],delivery.wall.wall.T[5,2],delivery.wall.wall.T[5,3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 15 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002929/0.466, allocations: 184.3 kB / 0.6099 GB, free: 7.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004695/0.4707, allocations: 3.351 MB / 0.6131 GB, free: 4.266 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4707, allocations: 4.438 kB / 0.6131 GB, free: 4.262 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003015/0.4737, allocations: 2.447 MB / 0.6155 GB, free: 1.617 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.475, allocations: 312.5 kB / 0.6158 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009979/0.485, allocations: 5.702 MB / 0.6214 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.4861, allocations: 1.26 MB / 0.6226 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/0.4867, allocations: 87.36 kB / 0.6227 GB, free: 10.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4867, allocations: 0 / 0.6227 GB, free: 10.2 MB / 478.1 MB Notification: Performance of Templates: time 0.09056/0.5773, allocations: 81.28 MB / 0.7021 GB, free: 8.836 MB / 0.545 GB [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.sim & ./AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Controlled_heater_case_003_ideal.pipe 2>&1) [Timeout 480]