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.001294/0.001294, allocations: 114.3 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.001447/0.001447, allocations: 215.1 kB / 22.25 MB, free: 5.082 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 / 256 MB, free: 7.98 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.02515/0.02515, allocations: 4.709 MB / 317.2 MB, free: 14.5 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.002039/0.002039, allocations: 67.88 kB / 441.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1022, allocations: 54.5 MB / 495.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.003715/0.106, allocations: 2.248 MB / 498 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004264/0.1064, allocations: 167.4 kB / 498.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1065, allocations: 0 / 498.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.1066, allocations: 27.72 kB / 498.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.1067, allocations: 47.62 kB / 498.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.1069, allocations: 55.89 kB / 498.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.1072, allocations: 203.7 kB / 498.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.1074, allocations: 108.4 kB / 498.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.1075, allocations: 67.84 kB / 498.7 MB, free: 312 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1077, allocations: 75.7 kB / 498.7 MB, free: 236 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.1077, allocations: 20 kB / 498.8 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.168e-05/0.1077, allocations: 23.94 kB / 498.8 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.1078, allocations: 39.91 kB / 498.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.679e-05/0.1079, allocations: 87.66 kB / 498.9 MB, free: 64 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.1081, allocations: 211.2 kB / 499.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1082, allocations: 4 kB / 499.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1082, allocations: 3.984 kB / 499.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1082, allocations: 0 / 499.1 MB, free: 15.85 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.0006982/0.1089, allocations: 373.7 kB / 499.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1089, allocations: 8.031 kB / 499.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.519e-05/0.109, allocations: 50.73 kB / 499.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.109, allocations: 20.8 kB / 499.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.1092, allocations: 158.3 kB / 499.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.1093, allocations: 8.375 kB / 499.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.1093, allocations: 16.38 kB / 499.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.1096, allocations: 169.3 kB / 499.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1096, allocations: 3.938 kB / 499.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.1096, allocations: 12 kB / 499.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.1097, allocations: 4 kB / 499.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.1099, allocations: 100.7 kB / 0.4883 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1109, allocations: 0.7276 MB / 0.489 GB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.111, allocations: 58.5 kB / 0.4891 GB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.111, allocations: 32.98 kB / 0.4891 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.111, allocations: 0 / 0.4891 GB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1111, allocations: 38.55 kB / 0.4891 GB, free: 13.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.1111, allocations: 0 / 0.4891 GB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002444/0.1113, allocations: 97.64 kB / 0.4892 GB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.1113, allocations: 51.41 kB / 0.4893 GB, free: 13.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1115, allocations: 174.1 kB / 0.4894 GB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1115, allocations: 29.7 kB / 0.4895 GB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1116, allocations: 139.7 kB / 0.4896 GB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1117, allocations: 23.8 kB / 0.4896 GB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.1117, allocations: 29.7 kB / 0.4897 GB, free: 13.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1119, allocations: 326.8 kB / 0.49 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.1119, allocations: 28 kB / 0.49 GB, free: 13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.591e-05/0.112, allocations: 78.86 kB / 0.4901 GB, free: 12.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.1122, allocations: 118.7 kB / 0.4902 GB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1122, allocations: 0 / 0.4902 GB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002211/0.1124, allocations: 141.5 kB / 0.4903 GB, free: 12.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1124, allocations: 4 kB / 0.4903 GB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1124, allocations: 4 kB / 0.4903 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1124, allocations: 3.938 kB / 0.4903 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.1126, allocations: 32.2 kB / 0.4904 GB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1126, allocations: 4 kB / 0.4904 GB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.1127, allocations: 16.08 kB / 0.4904 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1127, allocations: 8 kB / 0.4904 GB, free: 12.54 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.0001201/0.1128, allocations: 137.8 kB / 0.4905 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.1128, allocations: 11.95 kB / 0.4905 GB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.1129, allocations: 8.719 kB / 0.4905 GB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1129, allocations: 4 kB / 0.4905 GB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1129, allocations: 3.938 kB / 0.4905 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.1129, allocations: 7.938 kB / 0.4906 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.1131, allocations: 208.6 kB / 0.4908 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1131, allocations: 0 / 0.4908 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1132, allocations: 15.98 kB / 0.4908 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1133, allocations: 0 / 0.4908 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1133, allocations: 4 kB / 0.4908 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1133, allocations: 4 kB / 0.4908 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1133, allocations: 0 / 0.4908 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.1135, allocations: 207.4 kB / 0.491 GB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.1136, allocations: 19.91 kB / 0.491 GB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1136, allocations: 0 / 0.491 GB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.1137, allocations: 0 / 0.491 GB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.1137, allocations: 7.938 kB / 0.491 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1137, allocations: 0 / 0.491 GB, free: 11.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1138, allocations: 132 kB / 0.4911 GB, free: 11.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1138, allocations: 4 kB / 0.4911 GB, free: 11.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1141, allocations: 31.95 kB / 0.4912 GB, free: 11.68 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.0005279/0.1146, allocations: 0.7359 MB / 0.4919 GB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.1147, allocations: 67.91 kB / 0.4919 GB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1147, allocations: 0 / 0.4919 GB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.1148, allocations: 23.94 kB / 0.492 GB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.1151, allocations: 32.84 kB / 0.492 GB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.1173, allocations: 1.862 MB / 0.4938 GB, free: 8.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1177, allocations: 0.7201 MB / 0.4945 GB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.924e-05/0.1177, allocations: 12.64 kB / 0.4945 GB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.1178, allocations: 39.38 kB / 0.4946 GB, free: 8.016 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1178, allocations: 0 / 0.4946 GB, free: 8.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.1578, allocations: 2.982 MB / 0.4975 GB, free: 5.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.1, allocations: 4.719 kB / 0.4975 GB, free: 5.168 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Design_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.633777169976383] Failed to read output from testmodel.py, exit status != 0: 11.215659653069451 11.240356585 11.127901179 Calling exit ...