Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.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.0008293/0.0008293, allocations: 76.52 kB / 19.95 MB, free: 4.598 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.0007857/0.0007857, allocations: 169.2 kB / 23.23 MB, free: 1.316 MB / 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.8902/0.8902, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.06326/0.06326, allocations: 18.11 MB / 278.1 MB, free: 11.55 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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 415.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.083e-05, allocations: 3.125 kB / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002281/0.002302, allocations: 2.125 MB / 418 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003427/0.002645, allocations: 182.2 kB / 418.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.002716, allocations: 3.094 kB / 418.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.76e-05/0.002783, allocations: 26.55 kB / 418.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.002894, allocations: 67.59 kB / 418.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.003036, allocations: 53.31 kB / 418.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.00321, allocations: 250.4 kB / 418.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.003403, allocations: 66.58 kB / 418.6 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.794e-05/0.00348, allocations: 84.78 kB / 418.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.003599, allocations: 73.05 kB / 418.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.003642, allocations: 20.94 kB / 418.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.761e-05/0.00367, allocations: 20.62 kB / 418.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.0037, allocations: 46.17 kB / 418.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.003765, allocations: 82.08 kB / 418.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.003987, allocations: 245.6 kB / 419.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003989, allocations: 0.6094 kB / 419.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00399, allocations: 0 / 419.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.003996, allocations: 0 / 419.2 MB, free: 10.31 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0004267/0.004423, allocations: 420 kB / 419.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.00446, allocations: 11.17 kB / 419.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.004501, allocations: 56 kB / 419.7 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.004536, allocations: 28.92 kB / 419.7 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.974e-05/0.004606, allocations: 133.8 kB / 419.8 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.004623, allocations: 22.56 kB / 419.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.004646, allocations: 19.88 kB / 419.9 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.004904, allocations: 197.8 kB / 420 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.004913, allocations: 1.812 kB / 420 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.004927, allocations: 10.22 kB / 420.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.004935, allocations: 13.44 kB / 420.1 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.005111, allocations: 143.8 kB / 420.2 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/0.005904, allocations: 0.5556 MB / 420.8 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.006173, allocations: 158.8 kB / 420.9 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.006401, allocations: 123.1 kB / 421 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.006428, allocations: 10.77 kB / 421.1 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.006444, allocations: 38.56 kB / 421.1 MB, free: 9.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.006445, allocations: 0 / 421.1 MB, free: 9.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001174/0.007619, allocations: 0.5431 MB / 421.6 MB, free: 8.852 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.00764, allocations: 54.19 kB / 421.7 MB, free: 8.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/0.007706, allocations: 132.2 kB / 421.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.007715, allocations: 34.8 kB / 421.8 MB, free: 8.641 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.007766, allocations: 151.3 kB / 422 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.007792, allocations: 72.42 kB / 422.1 MB, free: 8.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.007836, allocations: 38.91 kB / 422.1 MB, free: 8.418 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.227e-05/0.007868, allocations: 324.4 kB / 422.4 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.007923, allocations: 45.98 kB / 422.5 MB, free: 8.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.007995, allocations: 82.8 kB / 422.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.008128, allocations: 136 kB / 422.7 MB, free: 7.945 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00813, allocations: 0 / 422.7 MB, free: 7.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000415/0.008545, allocations: 330.2 kB / 423 MB, free: 7.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.00856, allocations: 6.719 kB / 423 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.008567, allocations: 2.203 kB / 423 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.008988, allocations: 185.5 kB / 423.2 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.009054, allocations: 23.98 kB / 423.2 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.0115, allocations: 3.593 MB / 426.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.01154, allocations: 16.27 kB / 426.8 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.01155, allocations: 9.406 kB / 426.8 MB, free: 4.602 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.01162, allocations: 135.2 kB / 427 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.01164, allocations: 14.08 kB / 427 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.01206, allocations: 309.4 kB / 427.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01206, allocations: 3.094 kB / 427.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01206, allocations: 7.938 kB / 427.3 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01207, allocations: 1.312 kB / 427.3 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.01224, allocations: 225.6 kB / 427.5 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01225, allocations: 3.938 kB / 427.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.01228, allocations: 12.22 kB / 427.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/0.01261, allocations: 171.5 kB / 427.7 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.01262, allocations: 5.031 kB / 427.7 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.01449, allocations: 3.585 MB / 431.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0145, allocations: 1.531 kB / 431.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.01488, allocations: 395 kB / 431.7 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.01489, allocations: 13.92 kB / 431.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-06/0.0149, allocations: 1 kB / 431.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.28e-05/0.01494, allocations: 5.578 kB / 431.7 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.01498, allocations: 23.7 kB / 431.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.01499, allocations: 3.656 kB / 431.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.271e-05/0.01502, allocations: 95.09 kB / 431.8 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01502, allocations: 5.25 kB / 431.8 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.01536, allocations: 81.19 kB / 431.9 MB, free: 0.5742 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005775/0.01594, allocations: 0.9231 MB / 432.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004741/0.01641, allocations: 418 kB / 433.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01641, allocations: 1.188 kB / 433.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.01668, allocations: 360.2 kB / 433.6 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.01688, allocations: 18.36 kB / 433.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/0.0178, allocations: 0.5201 MB / 434.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.0179, allocations: 131.4 kB / 434.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.516e-05/0.01793, allocations: 4.188 kB / 434.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.01799, allocations: 49.58 kB / 434.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01799, allocations: 0 / 434.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.03723, allocations: 5.074 MB / 439.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.05, allocations: 14.28 kB / 439.4 MB, free: 13.1 MB / 346.7 MB " [Timeout remaining time 652] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Coursework_ThermSys_component_models_HeatPump_case_001a.fmu > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.16335208248347] Failed to read output from testmodel.py, exit status != 0: 8.140584890730679 8.152311575 8.146645193 Calling exit ...