Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 110.4 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 250.6 MB, free: 13.38 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.1039/0.1039, allocations: 22.7 MB / 328.5 MB, free: 2.594 MB / 254.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.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_case_studies.Heat_network.HC_SS_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001") translateModel(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 462.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.09641, allocations: 58.03 MB / 0.5081 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001): time 0.1829/0.2793, allocations: 8.903 MB / 0.5168 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.2822, allocations: 2.311 MB / 0.5191 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004982/0.2827, allocations: 47.25 kB / 0.5191 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005091/0.2832, allocations: 373 kB / 0.5195 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.2843, allocations: 0.9082 MB / 0.5204 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009458/0.2853, allocations: 0.6241 MB / 0.521 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.2883, allocations: 4.014 MB / 0.5249 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002614/0.2909, allocations: 2.44 MB / 0.5273 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.2926, allocations: 1.682 MB / 0.5289 GB, free: 5.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.2947, allocations: 1.869 MB / 0.5308 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000567/0.2953, allocations: 485.9 kB / 0.5312 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006465/0.2959, allocations: 491.1 kB / 0.5317 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008172/0.2967, allocations: 1.204 MB / 0.5329 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.2983, allocations: 1.813 MB / 0.5346 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004035/0.3023, allocations: 5.296 MB / 0.5398 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3023, allocations: 0 / 0.5398 GB, free: 15.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3023, allocations: 0 / 0.5398 GB, free: 15.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.555e-05/0.3023, allocations: 0 / 0.5398 GB, free: 15.5 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.007951/0.3103, allocations: 3.384 MB / 0.5431 GB, free: 13.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3103, allocations: 14.28 kB / 0.5431 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.3109, allocations: 299.5 kB / 0.5434 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002959/0.3139, allocations: 1.619 MB / 0.545 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.3141, allocations: 210.1 kB / 0.5452 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004587/0.3145, allocations: 251.4 kB / 0.5454 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005249/0.3198, allocations: 2.893 MB / 0.5483 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/0.3198, allocations: 1.875 kB / 0.5483 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000271/0.3201, allocations: 95.47 kB / 0.5483 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.3201, allocations: 54.56 kB / 0.5484 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004731/0.3249, allocations: 2.6 MB / 0.5509 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.3452, allocations: 12.32 MB / 0.563 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007644/0.3529, allocations: 3.113 MB / 0.566 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/0.355, allocations: 1.287 MB / 0.5673 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.3552, allocations: 33.97 kB / 0.5673 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.3552, allocations: 56.5 kB / 0.5674 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00128/0.3565, allocations: 243 kB / 0.5676 GB, free: 10.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=180): time 6.252e-06/0.3565, allocations: 3.984 kB / 0.5676 GB, free: 10.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=181): time 0.01849/0.375, allocations: 9.813 MB / 0.5772 GB, free: 15.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.375, allocations: 73.41 kB / 0.5772 GB, free: 15.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.3768, allocations: 1.177 MB / 0.5784 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.3769, allocations: 57.7 kB / 0.5784 GB, free: 14.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007306/0.3777, allocations: 0.9362 MB / 0.5794 GB, free: 13.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007445/0.3784, allocations: 0.7127 MB / 0.5801 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00074/0.3791, allocations: 355.7 kB / 0.5804 GB, free: 12.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3793, allocations: 305.1 kB / 0.5807 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/0.3816, allocations: 1.345 MB / 0.582 GB, free: 10.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/0.384, allocations: 1.487 MB / 0.5835 GB, free: 9.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02959/0.4136, allocations: 7.678 MB / 0.591 GB, free: 1.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.4136, allocations: 0 / 0.591 GB, free: 1.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.007939/0.4215, allocations: 3.906 MB / 0.5948 GB, free: 13.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.4216, allocations: 8 kB / 0.5948 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4216, allocations: 4 kB / 0.5948 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002936/0.4245, allocations: 0.9031 MB / 0.5957 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/0.4276, allocations: 0.5852 MB / 0.5962 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03317/0.4607, allocations: 38.74 MB / 0.6341 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.4628, allocations: 87.91 kB / 0.6341 GB, free: 1.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003452/0.4631, allocations: 71.98 kB / 0.6342 GB, free: 1.457 MB / 478.1 MB Warning: Assuming fixed start value for the following 6 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 SS.HE.Tho:VARIABLE(min = 0.0 start = 371.95 unit = \"K\" fixed = true nominal = 300.0 ) type: Real SS.HE.Tco:VARIABLE(min = 0.0 start = 323.15 unit = \"K\" fixed = true nominal = 300.0 ) type: Real vessel.lfrac:VARIABLE(start = vessel.lfracstart fixed = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003725/0.4668, allocations: 1.895 MB / 0.6361 GB, free: 15.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002548/0.4694, allocations: 1.475 MB / 0.6375 GB, free: 14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0291/0.4985, allocations: 7.655 MB / 0.645 GB, free: 6.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.4985, allocations: 0 / 0.645 GB, free: 6.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=263) (initialization_lambda0): time 0.007964/0.5065, allocations: 3.905 MB / 0.6488 GB, free: 2.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5065, allocations: 7.984 kB / 0.6488 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5065, allocations: 7.938 kB / 0.6488 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/0.5094, allocations: 0.8953 MB / 0.6497 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/0.5124, allocations: 0.5852 MB / 0.6503 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03245/0.5449, allocations: 38.74 MB / 0.6881 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.5469, allocations: 87.91 kB / 0.6882 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/0.5473, allocations: 75.91 kB / 0.6882 GB, free: 6.227 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 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 SS.HE.Tho:VARIABLE(min = 0.0 start = 371.95 unit = \"K\" fixed = true nominal = 300.0 ) type: Real SS.HE.Tco:VARIABLE(min = 0.0 start = 323.15 unit = \"K\" fixed = true nominal = 300.0 ) type: Real vessel.lfrac:VARIABLE(start = vessel.lfracstart fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (238): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 25 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007535/0.548, allocations: 321.9 kB / 0.6886 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004499/0.5485, allocations: 170.9 kB / 0.6887 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007001/0.5555, allocations: 3.403 MB / 0.692 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.5555, allocations: 7.969 kB / 0.692 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5555, allocations: 0 / 0.692 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/0.5561, allocations: 259.9 kB / 0.6923 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/0.5565, allocations: 87.97 kB / 0.6924 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.5578, allocations: 79.91 kB / 0.6925 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003604/0.5581, allocations: 149.8 kB / 0.6926 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01339/0.5715, allocations: 4.867 MB / 0.6973 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007622/0.5791, allocations: 4.646 MB / 0.7019 GB, free: 8.031 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00225/0.5814, allocations: 1.487 MB / 0.7033 GB, free: 6.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001313/0.5827, allocations: 0.7978 MB / 0.7041 GB, free: 5.746 MB / 0.545 GB Notification: Performance of Backend: time 5.31e-07/0.5827, allocations: 4 kB / 0.7041 GB, free: 5.742 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01271/0.5954, allocations: 9.06 MB / 0.713 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01207/0.6075, allocations: 8.076 MB / 0.7209 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of Templates: time 0.2569/0.8644, allocations: 58.41 MB / 0.7779 GB, free: 154 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001.sim & ./AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_case_studies.Heat_network.HC_SS_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.700913753011264] Failed to read output from testmodel.py, exit status != 0: 0.8725020270212553 0.881113641 0.576643268 Calling exit ...