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.001455/0.001455, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001924/0.001924, allocations: 211.7 kB / 22.24 MB, free: 4.855 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.805 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.02528/0.02528, allocations: 4.728 MB / 317.1 MB, free: 14.32 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.002249/0.002249, allocations: 71.89 kB / 441.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1127, allocations: 54.5 MB / 495.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.004131/0.1168, allocations: 2.111 MB / 497.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005219/0.1173, allocations: 167.5 kB / 497.9 MB, free: 488 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1175, allocations: 3.938 kB / 498 MB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.1176, allocations: 23.78 kB / 498 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.1177, allocations: 51.58 kB / 498 MB, free: 408 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.1179, allocations: 51.94 kB / 498.1 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.1182, allocations: 203.6 kB / 498.3 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.1185, allocations: 100.5 kB / 498.4 MB, free: 48 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1186, allocations: 67.88 kB / 498.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1187, allocations: 63.7 kB / 498.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.1188, allocations: 20 kB / 498.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.286e-05/0.1188, allocations: 20 kB / 498.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.648e-05/0.1189, allocations: 43.77 kB / 498.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.1189, allocations: 71.72 kB / 498.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1192, allocations: 219.3 kB / 498.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1192, allocations: 0 / 498.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1192, allocations: 0 / 498.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1192, allocations: 3.938 kB / 498.9 MB, free: 15.55 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.000692/0.1199, allocations: 373.7 kB / 499.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.12, allocations: 8.031 kB / 499.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.12, allocations: 50.73 kB / 499.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1201, allocations: 20.8 kB / 499.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1203, allocations: 158.3 kB / 499.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1203, allocations: 12.38 kB / 499.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.1204, allocations: 16.38 kB / 499.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.1207, allocations: 173.3 kB / 499.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1207, allocations: 3.938 kB / 499.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.1207, allocations: 8 kB / 499.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1207, allocations: 4 kB / 499.7 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.1209, allocations: 100.7 kB / 499.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009615/0.1218, allocations: 0.6848 MB / 0.4887 GB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.122, allocations: 58.56 kB / 0.4888 GB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.122, allocations: 32.97 kB / 0.4888 GB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.122, allocations: 3.938 kB / 0.4888 GB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.1221, allocations: 34.5 kB / 0.4889 GB, free: 13.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1221, allocations: 0 / 0.4889 GB, free: 13.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002411/0.1223, allocations: 97.64 kB / 0.489 GB, free: 13.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1223, allocations: 51.41 kB / 0.489 GB, free: 13.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1225, allocations: 179.8 kB / 0.4892 GB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1225, allocations: 33.64 kB / 0.4892 GB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.1226, allocations: 139.8 kB / 0.4893 GB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1226, allocations: 19.84 kB / 0.4894 GB, free: 13.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.1227, allocations: 29.67 kB / 0.4894 GB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1228, allocations: 326.8 kB / 0.4897 GB, free: 12.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/0.1229, allocations: 23.98 kB / 0.4897 GB, free: 12.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.432e-05/0.123, allocations: 82.8 kB / 0.4898 GB, free: 12.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1231, allocations: 110.8 kB / 0.4899 GB, free: 12.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1231, allocations: 0 / 0.4899 GB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000222/0.1234, allocations: 149.4 kB / 0.49 GB, free: 12.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1234, allocations: 4 kB / 0.4901 GB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1234, allocations: 4 kB / 0.4901 GB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1234, allocations: 4.219 kB / 0.4901 GB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.1235, allocations: 31.92 kB / 0.4901 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.1235, allocations: 0 / 0.4901 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.672e-05/0.1236, allocations: 23.83 kB / 0.4901 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.1236, allocations: 7.984 kB / 0.4901 GB, free: 12.27 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.0001119/0.1237, allocations: 133.7 kB / 0.4902 GB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.1238, allocations: 15.91 kB / 0.4903 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.1238, allocations: 12.72 kB / 0.4903 GB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.1238, allocations: 7.984 kB / 0.4903 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1238, allocations: 3.984 kB / 0.4903 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1238, allocations: 7.938 kB / 0.4903 GB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.1241, allocations: 184.7 kB / 0.4905 GB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1241, allocations: 3.984 kB / 0.4905 GB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.1242, allocations: 12 kB / 0.4905 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1242, allocations: 0 / 0.4905 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1242, allocations: 0 / 0.4905 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1242, allocations: 0 / 0.4905 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1242, allocations: 4 kB / 0.4905 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1244, allocations: 211.7 kB / 0.4907 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.1245, allocations: 15.88 kB / 0.4907 GB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1245, allocations: 0 / 0.4907 GB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1245, allocations: 8.062 kB / 0.4907 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.1246, allocations: 7.922 kB / 0.4907 GB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1246, allocations: 4 kB / 0.4907 GB, free: 11.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1247, allocations: 135.9 kB / 0.4909 GB, free: 11.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1247, allocations: 0 / 0.4909 GB, free: 11.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.125, allocations: 35.89 kB / 0.4909 GB, free: 11.41 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.0005319/0.1255, allocations: 0.7281 MB / 0.4916 GB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.1257, allocations: 68.23 kB / 0.4917 GB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1257, allocations: 8.125 kB / 0.4917 GB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.1257, allocations: 20 kB / 0.4917 GB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.126, allocations: 26.11 kB / 0.4917 GB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.1282, allocations: 1.871 MB / 0.4935 GB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.1283, allocations: 98.05 kB / 0.4936 GB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.038e-05/0.1283, allocations: 16.64 kB / 0.4937 GB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.1284, allocations: 39.42 kB / 0.4937 GB, free: 8.383 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1284, allocations: 0 / 0.4937 GB, free: 8.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.16, allocations: 3.402 MB / 0.497 GB, free: 5.129 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.21, allocations: 7.031 kB / 0.497 GB, free: 5.125 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.888545520137995] Failed to read output from testmodel.py, exit status != 0: 11.316147144883871 11.341387955 11.217555589 Calling exit ...