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.00136/0.00136, allocations: 113 kB / 18.94 MB, free: 2.934 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.001502/0.001502, allocations: 210.1 kB / 22.25 MB, free: 5.086 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 8.016 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.02555/0.02555, allocations: 4.714 MB / 317.1 MB, free: 14.55 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.001966/0.001966, allocations: 67.89 kB / 441.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.113, allocations: 54.5 MB / 495.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.003761/0.1167, allocations: 2.244 MB / 498 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003975/0.1171, allocations: 155.5 kB / 498.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.1172, allocations: 4 kB / 498.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.1174, allocations: 31.72 kB / 498.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1175, allocations: 51.55 kB / 498.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.1176, allocations: 51.95 kB / 498.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.1179, allocations: 211.6 kB / 498.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002952/0.1182, allocations: 104.5 kB / 498.6 MB, free: 428 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.347e-05/0.1183, allocations: 71.78 kB / 498.7 MB, free: 356 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1184, allocations: 67.7 kB / 498.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.1185, allocations: 23.94 kB / 498.8 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.1185, allocations: 24 kB / 498.8 MB, free: 240 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.1186, allocations: 35.92 kB / 498.8 MB, free: 204 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1187, allocations: 87.67 kB / 498.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.119, allocations: 215.2 kB / 499.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.119, allocations: 0 / 499.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.119, allocations: 0 / 499.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.119, allocations: 0 / 499.1 MB, free: 15.9 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006822/0.1197, allocations: 373.7 kB / 499.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1197, allocations: 12.03 kB / 499.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.515e-05/0.1198, allocations: 46.73 kB / 499.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.1199, allocations: 28.8 kB / 499.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1201, allocations: 154.3 kB / 499.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1201, allocations: 16.38 kB / 499.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.1201, allocations: 16.31 kB / 499.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.1204, allocations: 169.3 kB / 499.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1205, allocations: 3.938 kB / 499.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1205, allocations: 8 kB / 499.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1205, allocations: 11.94 kB / 499.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.1207, allocations: 100.7 kB / 0.4883 GB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009587/0.1216, allocations: 0.7237 MB / 0.489 GB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1217, allocations: 58.56 kB / 0.4891 GB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.1218, allocations: 28.98 kB / 0.4891 GB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.1218, allocations: 0 / 0.4891 GB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1218, allocations: 30.56 kB / 0.4891 GB, free: 13.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.1218, allocations: 0 / 0.4891 GB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002535/0.1221, allocations: 101.6 kB / 0.4892 GB, free: 13.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.1221, allocations: 55.41 kB / 0.4893 GB, free: 13.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1223, allocations: 174.2 kB / 0.4894 GB, free: 13.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1223, allocations: 25.7 kB / 0.4895 GB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.1224, allocations: 143.7 kB / 0.4896 GB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1224, allocations: 23.78 kB / 0.4896 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.1225, allocations: 29.72 kB / 0.4897 GB, free: 13.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1226, allocations: 318.8 kB / 0.49 GB, free: 13.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.723e-05/0.1227, allocations: 31.98 kB / 0.49 GB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1228, allocations: 90.59 kB / 0.4901 GB, free: 12.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.123, allocations: 118.7 kB / 0.4902 GB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.123, allocations: 0 / 0.4902 GB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002623/0.1232, allocations: 137.4 kB / 0.4903 GB, free: 12.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1233, allocations: 8 kB / 0.4903 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1233, allocations: 224 / 0.4903 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1233, allocations: 8 kB / 0.4903 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1234, allocations: 31.92 kB / 0.4904 GB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1234, allocations: 0 / 0.4904 GB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.1235, allocations: 23.83 kB / 0.4904 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.1235, allocations: 4 kB / 0.4904 GB, free: 12.58 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.0001174/0.1236, allocations: 125.8 kB / 0.4905 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1237, allocations: 7.953 kB / 0.4905 GB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.1237, allocations: 20.7 kB / 0.4905 GB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1237, allocations: 3.938 kB / 0.4905 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1237, allocations: 8 kB / 0.4905 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1237, allocations: 3.938 kB / 0.4906 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.124, allocations: 204.9 kB / 0.4907 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.124, allocations: 7.938 kB / 0.4908 GB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.1241, allocations: 15.98 kB / 0.4908 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1241, allocations: 0 / 0.4908 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1241, allocations: 0 / 0.4908 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1241, allocations: 0 / 0.4908 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1241, allocations: 0 / 0.4908 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.1244, allocations: 211.4 kB / 0.491 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.1244, allocations: 11.92 kB / 0.491 GB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.1244, allocations: 3.984 kB / 0.491 GB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1245, allocations: 4 kB / 0.491 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.1245, allocations: 7.938 kB / 0.491 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1245, allocations: 0 / 0.491 GB, free: 11.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1246, allocations: 132 kB / 0.4911 GB, free: 11.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1246, allocations: 0 / 0.4911 GB, free: 11.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1249, allocations: 27.95 kB / 0.4912 GB, free: 11.73 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.0005352/0.1254, allocations: 0.7359 MB / 0.4919 GB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1256, allocations: 75.84 kB / 0.4919 GB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1256, allocations: 4.438 kB / 0.4919 GB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.1257, allocations: 23.98 kB / 0.492 GB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.126, allocations: 27.92 kB / 0.492 GB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1281, allocations: 1.865 MB / 0.4938 GB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1285, allocations: 0.7201 MB / 0.4945 GB, free: 8.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.519e-05/0.1285, allocations: 8.641 kB / 0.4945 GB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.1286, allocations: 39.42 kB / 0.4946 GB, free: 8.066 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1286, allocations: 0 / 0.4946 GB, free: 8.066 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.1575, allocations: 2.981 MB / 0.4975 GB, free: 5.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11, allocations: 3.406 kB / 0.4975 GB, free: 5.219 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.637994078999327] Failed to read output from testmodel.py, exit status != 0: 11.105842155004211 11.12316296 11.000856627 Calling exit ...