Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits.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.0008211/0.0008211, allocations: 75.7 kB / 20.8 MB, free: 3.707 MB / 18.57 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.0009871/0.0009871, allocations: 165.3 kB / 24.09 MB, free: 424 kB / 18.57 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 0.9141/0.9141, allocations: 177.1 MB / 204.4 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.06075/0.06075, allocations: 18.13 MB / 279 MB, free: 11.49 MB / 266.7 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) Running command: translateModel(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits") translateModel(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 417.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.081e-05, allocations: 2.281 kB / 417.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits): time 0.002387/0.002417, allocations: 1.992 MB / 419.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.003358, allocations: 0.7004 MB / 420.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.003468, allocations: 8.062 kB / 420.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.003685, allocations: 35.84 kB / 420.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.003826, allocations: 57.98 kB / 420.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.00418, allocations: 206.9 kB / 420.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.004482, allocations: 287.9 kB / 420.6 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.004612, allocations: 74.3 kB / 420.7 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.004745, allocations: 102.6 kB / 420.8 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.004906, allocations: 106 kB / 420.9 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.004946, allocations: 28.25 kB / 420.9 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.42e-05/0.00498, allocations: 31.75 kB / 421 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.893e-05/0.005059, allocations: 73.36 kB / 421 MB, free: 9.723 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.005131, allocations: 84.34 kB / 421.1 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.005503, allocations: 304 kB / 421.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.005504, allocations: 0 / 421.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.005506, allocations: 0 / 421.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.005511, allocations: 5 kB / 421.4 MB, free: 9.535 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007279/0.006239, allocations: 0.5384 MB / 422 MB, free: 9.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.006269, allocations: 9.688 kB / 422 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.006315, allocations: 32.06 kB / 422 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.006618, allocations: 262.5 kB / 422.3 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.006629, allocations: 17 kB / 422.3 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.006658, allocations: 21.19 kB / 422.3 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.006968, allocations: 305 kB / 422.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.006974, allocations: 192 / 422.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.006989, allocations: 10.62 kB / 422.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.006993, allocations: 4.312 kB / 422.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.007276, allocations: 187.6 kB / 422.8 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008043/0.008081, allocations: 0.5783 MB / 423.4 MB, free: 8.301 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.008614, allocations: 248.2 kB / 423.6 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.008763, allocations: 95.47 kB / 423.7 MB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.00879, allocations: 6.438 kB / 423.7 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.008809, allocations: 37.25 kB / 423.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.00881, allocations: 0 / 423.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.00164/0.01045, allocations: 0.7332 MB / 424.5 MB, free: 7.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.01048, allocations: 106.3 kB / 424.6 MB, free: 7.844 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.01078, allocations: 263 kB / 424.9 MB, free: 7.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.0108, allocations: 29.7 kB / 424.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.01088, allocations: 160.6 kB / 425 MB, free: 7.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.01091, allocations: 63.36 kB / 425.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.01097, allocations: 46.83 kB / 425.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.01102, allocations: 340.2 kB / 425.5 MB, free: 7.121 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.01117, allocations: 98.94 kB / 425.6 MB, free: 7.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.01134, allocations: 186.5 kB / 425.8 MB, free: 6.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.01164, allocations: 203.9 kB / 426 MB, free: 6.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01164, allocations: 1 kB / 426 MB, free: 6.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003465/0.01199, allocations: 276.5 kB / 426.2 MB, free: 6.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.012, allocations: 4.844 kB / 426.2 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.012, allocations: 1.75 kB / 426.2 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.01202, allocations: 5.469 kB / 426.2 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.01221, allocations: 58.3 kB / 426.3 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01221, allocations: 1.922 kB / 426.3 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.01233, allocations: 41.48 kB / 426.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01235, allocations: 10.28 kB / 426.3 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001471/0.01249, allocations: 169.3 kB / 426.5 MB, free: 6.594 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001451/0.01264, allocations: 160.4 kB / 426.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001799/0.01282, allocations: 160.2 kB / 426.8 MB, free: 6.383 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/0.01282, allocations: 2.5 kB / 426.8 MB, free: 6.383 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0002301/0.01305, allocations: 226 kB / 427 MB, free: 6.273 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.01306, allocations: 12.28 kB / 427.1 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.01306, allocations: 2.047 kB / 427.1 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.01306, allocations: 1.281 kB / 427.1 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.01321, allocations: 48.73 kB / 427.1 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.01321, allocations: 3.812 kB / 427.1 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.01332, allocations: 39.44 kB / 427.2 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.01332, allocations: 5.281 kB / 427.2 MB, free: 6.246 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.668e-05/0.01338, allocations: 185.1 kB / 427.3 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.01341, allocations: 35 kB / 427.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/0.01408, allocations: 398.8 kB / 427.8 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01409, allocations: 2.219 kB / 427.8 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.01409, allocations: 3.938 kB / 427.8 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.0141, allocations: 2.391 kB / 427.8 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.01431, allocations: 233 kB / 428 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01431, allocations: 4 kB / 428 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.01438, allocations: 13.78 kB / 428 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003268/0.01471, allocations: 145.2 kB / 428.2 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.01472, allocations: 2.812 kB / 428.2 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.01666, allocations: 2.283 MB / 430.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01666, allocations: 0.7969 kB / 430.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.01742, allocations: 0.5824 MB / 431 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.01744, allocations: 32.62 kB / 431.1 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.01746, allocations: 7.922 kB / 431.1 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.01759, allocations: 24.09 kB / 431.1 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.01765, allocations: 19.88 kB / 431.1 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.01766, allocations: 7.781 kB / 431.1 MB, free: 3.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.01784, allocations: 198.2 kB / 431.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01785, allocations: 0 / 431.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002955/0.01814, allocations: 87.42 kB / 431.4 MB, free: 3.523 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (C_hi.FO.y,P.x_scaled[1],P.x_scaled[2],C_lo.FO.y) * 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 (9): * Single equations (assignments): 8 * 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 {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 8.935e-05/0.01823, allocations: 107.1 kB / 431.5 MB, free: 3.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004392/0.01867, allocations: 289 kB / 431.8 MB, free: 3.344 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01867, allocations: 0 / 431.8 MB, free: 3.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.01903, allocations: 279.8 kB / 432.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.01929, allocations: 49.08 kB / 432.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.01998, allocations: 0.5052 MB / 432.6 MB, free: 2.871 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.02011, allocations: 151.7 kB / 432.8 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.02021, allocations: 47.62 kB / 432.8 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.02026, allocations: 19.8 kB / 432.8 MB, free: 2.77 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02026, allocations: 4 kB / 432.8 MB, free: 2.766 MB / 330.7 MB Notification: Performance of Templates: time 0.005636/0.0259, allocations: 3.675 MB / 436.5 MB, free: 1.586 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits.sim & ./AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Keep_limits_and_overrides.Keep_within_two_limits.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.9780939873307943] Failed to read output from testmodel.py, exit status != 0: 0.0308813052251935 0.039903638000000005 0.032755058000000004 Calling exit ...