Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Design.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.001585/0.001585, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.001854/0.001854, allocations: 212 kB / 19.43 MB, free: 3.637 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.438/1.438, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02508/0.02508, allocations: 4.702 MB / 313.6 MB, free: 15.72 MB / 254.1 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: FastBuildings 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.001917/0.001917, allocations: 67.88 kB / 436.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09403, allocations: 54.45 MB / 490.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.003563/0.09759, allocations: 2.232 MB / 492.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003754/0.09796, allocations: 167.4 kB / 492.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.09804, allocations: 4 kB / 492.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.09815, allocations: 23.78 kB / 492.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.09825, allocations: 47.56 kB / 493 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.09842, allocations: 51.94 kB / 493 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.09869, allocations: 207.6 kB / 493.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.09898, allocations: 116.3 kB / 493.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.09905, allocations: 63.86 kB / 493.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.09918, allocations: 67.7 kB / 493.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.09922, allocations: 28 kB / 493.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.09928, allocations: 23.94 kB / 493.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.09932, allocations: 39.91 kB / 493.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.702e-05/0.09942, allocations: 87.67 kB / 493.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.09968, allocations: 219.1 kB / 493.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.09968, allocations: 0 / 493.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.09968, allocations: 0 / 493.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.09969, allocations: 0 / 493.9 MB, free: 3.281 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006982/0.1004, allocations: 450.9 kB / 494.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1004, allocations: 12.03 kB / 494.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/0.1005, allocations: 50.73 kB / 494.4 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.1005, allocations: 20.8 kB / 494.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1008, allocations: 216.1 kB / 494.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1008, allocations: 12.38 kB / 494.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.1009, allocations: 16.38 kB / 494.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.1012, allocations: 174.2 kB / 494.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1012, allocations: 3.938 kB / 494.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1012, allocations: 7.984 kB / 494.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1012, allocations: 4 kB / 494.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.1014, allocations: 108.7 kB / 494.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009895/0.1024, allocations: 0.752 MB / 495.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1025, allocations: 50.56 kB / 495.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.1026, allocations: 36.91 kB / 495.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.1026, allocations: 0 / 495.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1026, allocations: 38.56 kB / 495.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1026, allocations: 4 kB / 495.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002458/0.1028, allocations: 93.64 kB / 495.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.1029, allocations: 55.34 kB / 495.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1031, allocations: 179.8 kB / 496.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1031, allocations: 25.7 kB / 496.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1032, allocations: 139.7 kB / 496.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1032, allocations: 23.84 kB / 496.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1033, allocations: 25.72 kB / 496.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1034, allocations: 326.8 kB / 496.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.1035, allocations: 31.92 kB / 496.7 MB, free: 224 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1036, allocations: 82.86 kB / 496.8 MB, free: 116 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1038, allocations: 110.8 kB / 496.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1038, allocations: 0 / 496.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002291/0.104, allocations: 149.5 kB / 497 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.104, allocations: 4 kB / 497 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.104, allocations: 4 kB / 497 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.104, allocations: 3.984 kB / 497 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1042, allocations: 27.94 kB / 497.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1042, allocations: 4 kB / 497.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.029e-05/0.1043, allocations: 23.81 kB / 497.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1043, allocations: 4 kB / 497.1 MB, free: 15.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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 0.0001324/0.1044, allocations: 137.9 kB / 497.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.1045, allocations: 11.95 kB / 497.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.1045, allocations: 8.719 kB / 497.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1045, allocations: 4 kB / 497.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1045, allocations: 8.172 kB / 497.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1045, allocations: 3.938 kB / 497.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.1048, allocations: 241.5 kB / 497.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1048, allocations: 0 / 497.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1049, allocations: 12 kB / 497.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1049, allocations: 0 / 497.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1049, allocations: 4 kB / 497.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1049, allocations: 0 / 497.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1049, allocations: 4 kB / 497.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1052, allocations: 211.4 kB / 497.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.1053, allocations: 85.09 kB / 497.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.1053, allocations: 0 / 497.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.1053, allocations: 0 / 497.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.1054, allocations: 11.92 kB / 497.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1054, allocations: 8.062 kB / 497.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1055, allocations: 119.2 kB / 497.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1055, allocations: 0 / 497.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1058, allocations: 35.89 kB / 498 MB, free: 14.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bui.zon.capZon.heaPor.T) * 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): 6 * 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 Backend phase and start with SimCode phase: time 0.0005698/0.1063, allocations: 0.7482 MB / 498.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1065, allocations: 67.98 kB / 498.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1065, allocations: 0 / 498.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.1065, allocations: 20 kB / 498.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1069, allocations: 20.41 kB / 498.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.1091, allocations: 1.866 MB / 0.489 GB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.1097, allocations: 0.7123 MB / 0.4896 GB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.1098, allocations: 8.641 kB / 0.4897 GB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.1099, allocations: 47.42 kB / 0.4897 GB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 9.91e-07/0.1099, allocations: 0 / 0.4897 GB, free: 11.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.1416, allocations: 2.801 MB / 0.4924 GB, free: 8.395 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.286, allocations: 9.469 kB / 0.4924 GB, free: 8.391 MB / 366.1 MB " [Timeout remaining time 652] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Design.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Design_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_SingleZone_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.847269020974636] Failed to read output from testmodel.py, exit status != 0: 8.355298799928278 8.372071477 8.269259387 Calling exit ...