Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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.00123/0.00123, allocations: 113 kB / 19.73 MB, free: 2.246 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.001524/0.001524, allocations: 213.4 kB / 23.04 MB, free: 5.078 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.02474/0.02474, allocations: 4.713 MB / 317.9 MB, free: 14.56 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_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="cs",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.001909/0.001909, allocations: 63.91 kB / 442 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1048, allocations: 54.5 MB / 496.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004888/0.1097, allocations: 3.253 MB / 499.8 MB, free: 32 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1116, allocations: 0.8574 MB / 0.4889 GB, free: 15.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.1118, allocations: 11.94 kB / 0.4889 GB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.112, allocations: 67.36 kB / 0.489 GB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.1122, allocations: 122.9 kB / 0.4891 GB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.1128, allocations: 151.8 kB / 0.4892 GB, free: 14.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005943/0.1133, allocations: 0.5063 MB / 0.4897 GB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.1138, allocations: 199.3 kB / 0.4899 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.1141, allocations: 211.3 kB / 0.4901 GB, free: 13.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.1144, allocations: 199.1 kB / 0.4903 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.47e-05/0.1145, allocations: 56 kB / 0.4904 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1146, allocations: 63.98 kB / 0.4904 GB, free: 13.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1147, allocations: 95.77 kB / 0.4905 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.1149, allocations: 231 kB / 0.4908 GB, free: 13.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006968/0.1156, allocations: 0.5606 MB / 0.4913 GB, free: 12.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1156, allocations: 0 / 0.4913 GB, free: 12.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1156, allocations: 0 / 0.4913 GB, free: 12.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1156, allocations: 4 kB / 0.4913 GB, free: 12.71 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001508/0.1171, allocations: 0.6711 MB / 0.492 GB, free: 12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1172, allocations: 12.03 kB / 0.492 GB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.127e-05/0.1172, allocations: 12.83 kB / 0.492 GB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.986e-05/0.1173, allocations: 66.66 kB / 0.492 GB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.1175, allocations: 56.69 kB / 0.4921 GB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.118, allocations: 269.3 kB / 0.4924 GB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.1181, allocations: 110.3 kB / 0.4925 GB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/0.1182, allocations: 40.06 kB / 0.4925 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/0.119, allocations: 397 kB / 0.4929 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.119, allocations: 0 / 0.4929 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.119, allocations: 12 kB / 0.4929 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1191, allocations: 8 kB / 0.4929 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008597/0.1199, allocations: 330.3 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.1224, allocations: 1.46 MB / 0.4946 GB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1235, allocations: 363 kB / 0.495 GB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.124, allocations: 185.6 kB / 0.4952 GB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.124, allocations: 7.984 kB / 0.4952 GB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005904/0.1246, allocations: 236.9 kB / 0.4954 GB, free: 8.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.1246, allocations: 0 / 0.4954 GB, free: 8.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001435/0.1261, allocations: 0.4893 MB / 0.4959 GB, free: 7.781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.1262, allocations: 85.05 kB / 0.496 GB, free: 7.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.1266, allocations: 304.1 kB / 0.4962 GB, free: 7.367 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.1266, allocations: 29.7 kB / 0.4963 GB, free: 7.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.1268, allocations: 196.6 kB / 0.4965 GB, free: 7.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.1269, allocations: 91.2 kB / 0.4965 GB, free: 7.047 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1271, allocations: 65.81 kB / 0.4966 GB, free: 6.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1272, allocations: 334.8 kB / 0.4969 GB, free: 6.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.1278, allocations: 147.9 kB / 0.4971 GB, free: 6.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.1283, allocations: 209 kB / 0.4973 GB, free: 6.273 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000838/0.1291, allocations: 371.1 kB / 0.4976 GB, free: 5.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1291, allocations: 0 / 0.4976 GB, free: 5.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001047/0.1302, allocations: 454.8 kB / 0.4981 GB, free: 5.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.1302, allocations: 41.69 kB / 0.4981 GB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1302, allocations: 0 / 0.4981 GB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1302, allocations: 4 kB / 0.4981 GB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.1313, allocations: 211.8 kB / 0.4983 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.1332, allocations: 1.577 MB / 0.4998 GB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.1335, allocations: 39.81 kB / 0.4999 GB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.1335, allocations: 20.08 kB / 0.4999 GB, free: 3.426 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002392/0.1337, allocations: 181.1 kB / 0.5001 GB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.1338, allocations: 27.81 kB / 0.5001 GB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000923/0.1347, allocations: 383.5 kB / 0.5005 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1347, allocations: 0 / 0.5005 GB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1347, allocations: 4 kB / 0.5005 GB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1347, allocations: 4 kB / 0.5005 GB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.1353, allocations: 420.3 kB / 0.5009 GB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1353, allocations: 4 kB / 0.5009 GB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.1363, allocations: 203.7 kB / 0.5011 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1363, allocations: 0 / 0.5011 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.1364, allocations: 8 kB / 0.5011 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.1381, allocations: 1.576 MB / 0.5026 GB, free: 488 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.1381, allocations: 3.984 kB / 0.5026 GB, free: 484 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.1395, allocations: 0.5835 MB / 0.5032 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.1395, allocations: 35.75 kB / 0.5032 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.1396, allocations: 12.03 kB / 0.5032 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.1398, allocations: 23.97 kB / 0.5033 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.1399, allocations: 23.95 kB / 0.5033 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.14, allocations: 12 kB / 0.5033 GB, free: 15.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.1402, allocations: 211.1 kB / 0.5035 GB, free: 15.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1402, allocations: 0 / 0.5035 GB, free: 15.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004443/0.1406, allocations: 87.83 kB / 0.5036 GB, free: 15.46 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001675/0.1423, allocations: 1.137 MB / 0.5047 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.1439, allocations: 0.5032 MB / 0.5052 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1439, allocations: 8.062 kB / 0.5052 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.1451, allocations: 295.6 kB / 0.5055 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1454, allocations: 52.89 kB / 0.5055 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.1516, allocations: 3.571 MB / 0.509 GB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.152, allocations: 0.7986 MB / 0.5098 GB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.1522, allocations: 38.22 kB / 0.5098 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.1524, allocations: 103.4 kB / 0.5099 GB, free: 8.766 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1524, allocations: 0 / 0.5099 GB, free: 8.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.1821, allocations: 7.283 MB / 0.517 GB, free: 1.656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.05, allocations: 8 kB / 0.517 GB, free: 1.648 MB / 382.1 MB " [Timeout remaining time 647] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Controlled_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.860303747002035] Failed to read output from testmodel.py, exit status != 0: 13.22966527508106 13.484526529 13.365775056 Calling exit ...