Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_below_limit.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001749/0.001749, allocations: 183.9 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09394/0.09394, allocations: 22.32 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 55.91 kB / 438.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/0.08709, allocations: 54.96 MB / 493.4 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.002711/0.08983, allocations: 1.814 MB / 495.2 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.09086, allocations: 0.6001 MB / 495.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.09097, allocations: 4 kB / 495.8 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.09124, allocations: 27.73 kB / 495.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.0914, allocations: 35.72 kB / 495.9 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.09167, allocations: 107.9 kB / 496 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.09193, allocations: 219.5 kB / 496.2 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.09207, allocations: 61.47 kB / 496.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.0922, allocations: 83.69 kB / 496.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.09237, allocations: 103.6 kB / 496.4 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.09241, allocations: 16 kB / 496.4 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.785e-05/0.09244, allocations: 16 kB / 496.5 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.09253, allocations: 55.83 kB / 496.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.9e-05/0.09263, allocations: 75.53 kB / 496.6 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.09286, allocations: 187.2 kB / 496.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09287, allocations: 0 / 496.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09288, allocations: 0 / 496.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.09289, allocations: 0 / 496.8 MB, free: 0.7773 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009775/0.09387, allocations: 0.5338 MB / 497.3 MB, free: 196 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.09392, allocations: 8.031 kB / 497.3 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.09398, allocations: 16.84 kB / 497.3 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.09445, allocations: 280.8 kB / 497.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.09447, allocations: 8.609 kB / 497.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.09451, allocations: 12.38 kB / 497.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.09482, allocations: 167.8 kB / 497.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.09484, allocations: 0 / 497.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.09487, allocations: 7.984 kB / 497.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.09488, allocations: 8 kB / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.09517, allocations: 116.6 kB / 497.9 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008829/0.09606, allocations: 0.5438 MB / 498.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.09662, allocations: 182.6 kB / 498.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.09679, allocations: 72.81 kB / 498.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.09683, allocations: 0 / 498.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.09685, allocations: 38.56 kB / 498.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.09686, allocations: 0 / 498.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001702/0.09857, allocations: 0.5343 MB / 499.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.09862, allocations: 85.05 kB / 499.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.09898, allocations: 207.2 kB / 499.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.09901, allocations: 33.7 kB / 499.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.0991, allocations: 131.9 kB / 499.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.09915, allocations: 47.59 kB / 499.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.09921, allocations: 33.7 kB / 499.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.09932, allocations: 330.8 kB / 0.4884 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.09947, allocations: 64.81 kB / 0.4885 GB, free: 13.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.09963, allocations: 86.53 kB / 0.4886 GB, free: 13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.09993, allocations: 144.7 kB / 0.4887 GB, free: 12.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.09994, allocations: 0 / 0.4887 GB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000361/0.1003, allocations: 189.5 kB / 0.4889 GB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1003, allocations: 4 kB / 0.4889 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1003, allocations: 4 kB / 0.4889 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1004, allocations: 8.031 kB / 0.4889 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.1006, allocations: 43.91 kB / 0.4889 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1007, allocations: 0 / 0.4889 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1009, allocations: 31.86 kB / 0.489 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1009, allocations: 4 kB / 0.489 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001471/0.101, allocations: 152 kB / 0.4891 GB, free: 12.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001057/0.1012, allocations: 74.55 kB / 0.4892 GB, free: 12.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001719/0.1013, allocations: 120.4 kB / 0.4893 GB, free: 12.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.1013, allocations: 11.86 kB / 0.4893 GB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002555/0.1016, allocations: 169.5 kB / 0.4895 GB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.1016, allocations: 4 kB / 0.4895 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.1016, allocations: 0 / 0.4895 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/0.1016, allocations: 0 / 0.4895 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.1019, allocations: 47.84 kB / 0.4895 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.1019, allocations: 0 / 0.4895 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.1021, allocations: 24.02 kB / 0.4895 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1021, allocations: 4 kB / 0.4895 GB, free: 11.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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 9.656e-05/0.1022, allocations: 192.9 kB / 0.4897 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.1022, allocations: 15.91 kB / 0.4897 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.103, allocations: 283.6 kB / 0.49 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.103, allocations: 3.984 kB / 0.49 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.103, allocations: 0 / 0.49 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.103, allocations: 93.02 kB / 0.4901 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.1031, allocations: 4 kB / 0.4901 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1033, allocations: 23.91 kB / 0.4901 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.1034, allocations: 19.97 kB / 0.4902 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001059/0.1044, allocations: 408.9 kB / 0.4905 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005765/0.105, allocations: 442.5 kB / 0.491 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001457/0.1052, allocations: 71.95 kB / 0.491 GB, free: 10.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002953/0.1055, allocations: 173.1 kB / 0.4912 GB, free: 10.2 MB / 382.1 MB Notification: Performance of Backend: time 3.21e-07/0.1055, allocations: 0 / 0.4912 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005813/0.1061, allocations: 229.1 kB / 0.4914 GB, free: 9.977 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007794/0.1069, allocations: 0.8575 MB / 0.4923 GB, free: 9.07 MB / 382.1 MB Notification: Performance of Templates: time 0.005574/0.1125, allocations: 2.688 MB / 0.4949 GB, free: 6.391 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.makefile (rm -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Keep_below_limit.sim & ./AES_AES.Coursework.Typical_control_structures.Keep_below_limit -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe 2>&1)