Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 96.36 kB / 19.75 MB, free: 1.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 207 kB / 23.05 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.7 MB / 256.9 MB, free: 7.707 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1129/0.1129, allocations: 24.03 MB / 337.3 MB, free: 11.29 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noEquidistantTimeGrid=() since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control") translateModel(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 63.89 kB / 476 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3155, allocations: 59.57 MB / 0.5231 GB, free: 11.36 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control): time 0.06794/0.3834, allocations: 23.87 MB / 0.5464 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3851, allocations: 0.5786 MB / 0.5469 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.3853, allocations: 11.94 kB / 0.5469 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.3856, allocations: 74 kB / 0.547 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.3859, allocations: 132.3 kB / 0.5471 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.3863, allocations: 206.2 kB / 0.5473 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.3868, allocations: 0.5931 MB / 0.5479 GB, free: 132 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004575/0.3872, allocations: 305.5 kB / 0.5482 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.3875, allocations: 222.5 kB / 0.5484 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.3878, allocations: 234 kB / 0.5486 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.87e-05/0.3879, allocations: 52 kB / 0.5487 GB, free: 15.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.3881, allocations: 80.81 kB / 0.5488 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3882, allocations: 123.8 kB / 0.5489 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.3884, allocations: 225.2 kB / 0.5491 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.3891, allocations: 0.5904 MB / 0.5497 GB, free: 14.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3891, allocations: 0 / 0.5497 GB, free: 14.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3891, allocations: 0 / 0.5497 GB, free: 14.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3891, allocations: 0 / 0.5497 GB, free: 14.7 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001362/0.3904, allocations: 0.7586 MB / 0.5504 GB, free: 13.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3905, allocations: 8.031 kB / 0.5504 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.3906, allocations: 64.56 kB / 0.5505 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.3911, allocations: 314.1 kB / 0.5508 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.3911, allocations: 33.38 kB / 0.5508 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.3912, allocations: 48.94 kB / 0.5509 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008823/0.3921, allocations: 480 kB / 0.5513 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3921, allocations: 192 / 0.5513 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.3922, allocations: 19.94 kB / 0.5513 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.3922, allocations: 8 kB / 0.5513 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007381/0.3929, allocations: 322.8 kB / 0.5517 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.3953, allocations: 1.122 MB / 0.5527 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.396, allocations: 278.6 kB / 0.553 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002638/0.3963, allocations: 102.8 kB / 0.5531 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.3963, allocations: 12.75 kB / 0.5531 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3964, allocations: 39.45 kB / 0.5532 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001892/0.3965, allocations: 42.48 kB / 0.5532 GB, free: 11.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.3965, allocations: 0 / 0.5532 GB, free: 11.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002202/0.3987, allocations: 0.5343 MB / 0.5537 GB, free: 10.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.3988, allocations: 81.11 kB / 0.5538 GB, free: 10.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.3992, allocations: 374.4 kB / 0.5542 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3992, allocations: 33.7 kB / 0.5542 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3995, allocations: 280 kB / 0.5545 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.554e-05/0.3995, allocations: 108.8 kB / 0.5546 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.3997, allocations: 88.58 kB / 0.5546 GB, free: 10.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3999, allocations: 351.6 kB / 0.555 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.4001, allocations: 119.3 kB / 0.5551 GB, free: 9.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.4005, allocations: 241.8 kB / 0.5553 GB, free: 9.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006258/0.4012, allocations: 335.9 kB / 0.5556 GB, free: 8.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.4012, allocations: 4 kB / 0.5557 GB, free: 8.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001432/0.4026, allocations: 0.5016 MB / 0.5561 GB, free: 8.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4026, allocations: 8 kB / 0.5561 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.4026, allocations: 4.516 kB / 0.5562 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.4041, allocations: 170.7 kB / 0.5563 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.4046, allocations: 97.89 kB / 0.5564 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000771/0.4054, allocations: 0.6191 MB / 0.557 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.4056, allocations: 24.11 kB / 0.557 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.4057, allocations: 21.41 kB / 0.5571 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003775/0.406, allocations: 215.5 kB / 0.5573 GB, free: 7.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003462/0.4064, allocations: 234.9 kB / 0.5575 GB, free: 7.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005318/0.4069, allocations: 303.9 kB / 0.5578 GB, free: 6.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.4069, allocations: 4 kB / 0.5578 GB, free: 6.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001304/0.4082, allocations: 497.8 kB / 0.5583 GB, free: 6.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4082, allocations: 8 kB / 0.5583 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.4082, allocations: 4.781 kB / 0.5583 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.4093, allocations: 162.7 kB / 0.5584 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.4097, allocations: 88.02 kB / 0.5585 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005701/0.4103, allocations: 0.6305 MB / 0.5591 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.4105, allocations: 15.42 kB / 0.5591 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.4105, allocations: 17.12 kB / 0.5592 GB, free: 5.523 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (PI_w_control.iNoDec,PI_w_control.iNoInc,PI_w_control.iTS,PI_w_control.LOsat,PI_w_control.HIsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.4107, allocations: 212.7 kB / 0.5594 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.4108, allocations: 40.7 kB / 0.5594 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.4121, allocations: 475.3 kB / 0.5598 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4121, allocations: 1.922 kB / 0.5598 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4121, allocations: 0 / 0.5598 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.4122, allocations: 38.3 kB / 0.5599 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.4122, allocations: 12.55 kB / 0.5599 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.4125, allocations: 20.12 kB / 0.5599 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.4126, allocations: 39.06 kB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001307/0.4139, allocations: 491.9 kB / 0.5604 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001082/0.415, allocations: 0.6522 MB / 0.5611 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002867/0.4152, allocations: 124.9 kB / 0.5612 GB, free: 3.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.4155, allocations: 244 kB / 0.5614 GB, free: 3.438 MB / 398.1 MB Notification: Performance of Backend: time 6.42e-07/0.4155, allocations: 0 / 0.5614 GB, free: 3.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.4173, allocations: 0.5193 MB / 0.5619 GB, free: 2.91 MB / 398.1 MB Notification: Performance of SimCode: time 0.001804/0.4191, allocations: 1.422 MB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of Templates: time 0.01352/0.4326, allocations: 7.143 MB / 0.5703 GB, free: 10.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control.sim & ./AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Override_control.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.080310790101066] Failed to read output from testmodel.py, exit status != 0: 0.44152265996672213 0.46277908100000004 0.06942182000000001 Calling exit ...