Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_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.001712/0.001712, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.001976/0.001976, allocations: 211 kB / 23 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1096/0.1096, allocations: 24.14 MB / 337.3 MB, free: 11.35 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 -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control") translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_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.002064/0.002064, allocations: 70.09 kB / 475.3 MB, free: 5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3506, allocations: 59.6 MB / 0.5223 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control): time 0.005941/0.3566, allocations: 5.183 MB / 0.5274 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003298/0.3599, allocations: 1.592 MB / 0.5289 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008765/0.3607, allocations: 31.41 kB / 0.529 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.3612, allocations: 236.4 kB / 0.5292 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.3622, allocations: 0.5481 MB / 0.5297 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009567/0.3632, allocations: 428.8 kB / 0.5301 GB, free: 5.336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003236/0.3664, allocations: 3.41 MB / 0.5335 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003168/0.3696, allocations: 2.137 MB / 0.5356 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.3724, allocations: 1.36 MB / 0.5369 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/0.3755, allocations: 1.584 MB / 0.5384 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.3766, allocations: 495.4 kB / 0.5389 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.3779, allocations: 497.4 kB / 0.5394 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.379, allocations: 1.246 MB / 0.5406 GB, free: 344 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00244/0.3814, allocations: 1.397 MB / 0.542 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006596/0.388, allocations: 5.239 MB / 0.5471 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.388, allocations: 0 / 0.5471 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.388, allocations: 0 / 0.5471 GB, free: 11.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001169/0.3881, allocations: 4 kB / 0.5471 GB, free: 11.75 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.009227/0.3974, allocations: 2.877 MB / 0.5499 GB, free: 9.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3974, allocations: 9.672 kB / 0.5499 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006504/0.3981, allocations: 248.9 kB / 0.5501 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003062/0.4011, allocations: 1.338 MB / 0.5514 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.4013, allocations: 182.4 kB / 0.5516 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005368/0.4019, allocations: 233 kB / 0.5518 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006952/0.4088, allocations: 3.012 MB / 0.5548 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.101e-05/0.4089, allocations: 1.469 kB / 0.5548 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.4091, allocations: 80.12 kB / 0.5549 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/0.4092, allocations: 48.47 kB / 0.5549 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005985/0.4152, allocations: 2.778 MB / 0.5576 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02264/0.4378, allocations: 9.472 MB / 0.5669 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008258/0.4461, allocations: 3.611 MB / 0.5704 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002934/0.449, allocations: 1.529 MB / 0.5719 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.4492, allocations: 22 kB / 0.5719 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.457e-05/0.4492, allocations: 52.56 kB / 0.572 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00119/0.4504, allocations: 163.1 kB / 0.5721 GB, free: 7.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=182): time 9.338e-06/0.4504, allocations: 0 / 0.5721 GB, free: 7.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=184): time 0.02524/0.4757, allocations: 9.658 MB / 0.5815 GB, free: 13.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.4757, allocations: 73.41 kB / 0.5816 GB, free: 13.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.477, allocations: 0.731 MB / 0.5823 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004823/0.4775, allocations: 57.7 kB / 0.5824 GB, free: 13.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/0.4781, allocations: 0.7085 MB / 0.5831 GB, free: 12.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.4792, allocations: 0.7398 MB / 0.5838 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007742/0.48, allocations: 351.7 kB / 0.5841 GB, free: 11.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4801, allocations: 305.1 kB / 0.5844 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.4829, allocations: 1.59 MB / 0.586 GB, free: 9.316 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/0.4856, allocations: 1.67 MB / 0.5876 GB, free: 7.605 MB / 430.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.03124/0.5169, allocations: 8.835 MB / 0.5962 GB, free: 14.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.5169, allocations: 0 / 0.5962 GB, free: 14.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01022/0.5271, allocations: 4.762 MB / 0.6009 GB, free: 9.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.5271, allocations: 8 kB / 0.6009 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5272, allocations: 4.031 kB / 0.6009 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004755/0.5319, allocations: 1.485 MB / 0.6023 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.5348, allocations: 0.5033 MB / 0.6028 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05246/0.5873, allocations: 56.91 MB / 0.6584 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.5892, allocations: 95.89 kB / 0.6585 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002862/0.5895, allocations: 75.97 kB / 0.6586 GB, free: 10.43 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: HC.H.Ec:VARIABLE(flow=false fixed = true ) type: Real HC.H.Tfo:VARIABLE(min = 0.0 start = HC.H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real HC.H.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.closure.tubeH.fluidStream.w = 0.0 $DER.closure.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ON.y,HC.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 40 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 40 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%), (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%), (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.001541/0.5911, allocations: 0.6829 MB / 0.6592 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.5914, allocations: 123.2 kB / 0.6594 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008655/0.6, allocations: 4.235 MB / 0.6635 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.6001, allocations: 15.95 kB / 0.6635 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6001, allocations: 0 / 0.6635 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.6005, allocations: 139.2 kB / 0.6636 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003708/0.6009, allocations: 103.9 kB / 0.6637 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.602, allocations: 87.89 kB / 0.6638 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/0.6025, allocations: 185.6 kB / 0.664 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0162/0.6186, allocations: 6.086 MB / 0.6699 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008314/0.627, allocations: 5.398 MB / 0.6752 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002634/0.6296, allocations: 1.796 MB / 0.677 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007547/0.6303, allocations: 0.503 MB / 0.6775 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of Backend: time 4.51e-07/0.6303, allocations: 0 / 0.6775 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009432/0.6398, allocations: 6.64 MB / 0.684 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01317/0.6529, allocations: 8.364 MB / 0.6921 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of Templates: time 0.3092/0.9622, allocations: 50 MB / 0.7409 GB, free: 168.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control.sim & ./AES_AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_case_studies.Heat_network.Loop_T_control.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.666705543000717] Failed to read output from testmodel.py, exit status != 0: 0.9708711190032773 0.982480105 0.591554346 Calling exit ...