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.001711/0.001711, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002212/0.002212, allocations: 219.6 kB / 23.03 MB, free: 4.941 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.02461/0.02461, allocations: 4.721 MB / 317.9 MB, free: 14.3 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.001912/0.001912, allocations: 73.77 kB / 442 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1046, allocations: 54.48 MB / 496.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004467/0.1091, allocations: 3 MB / 499.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1107, allocations: 0.8263 MB / 0.4885 GB, free: 14.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1108, allocations: 4 kB / 0.4885 GB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.111, allocations: 59.38 kB / 0.4886 GB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1112, allocations: 126.9 kB / 0.4887 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1116, allocations: 155.8 kB / 0.4889 GB, free: 14.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.1122, allocations: 0.5063 MB / 0.4894 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003318/0.1125, allocations: 195.3 kB / 0.4896 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.1128, allocations: 207.3 kB / 0.4898 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1131, allocations: 199.2 kB / 0.4899 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/0.1132, allocations: 56 kB / 0.49 GB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1133, allocations: 64 kB / 0.4901 GB, free: 13.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1134, allocations: 103.6 kB / 0.4902 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.1136, allocations: 187.2 kB / 0.4903 GB, free: 13.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006506/0.1142, allocations: 0.5567 MB / 0.4909 GB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1142, allocations: 0 / 0.4909 GB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1142, allocations: 0 / 0.4909 GB, free: 12.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1143, allocations: 0 / 0.4909 GB, free: 12.5 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.00141/0.1157, allocations: 0.6788 MB / 0.4915 GB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1157, allocations: 8.031 kB / 0.4915 GB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.745e-05/0.1157, allocations: 8.844 kB / 0.4916 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.749e-05/0.1158, allocations: 74.72 kB / 0.4916 GB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.1161, allocations: 56.69 kB / 0.4917 GB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.1165, allocations: 269.3 kB / 0.4919 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.1166, allocations: 106.3 kB / 0.492 GB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.1167, allocations: 36.11 kB / 0.4921 GB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.1175, allocations: 400.9 kB / 0.4925 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1175, allocations: 4 kB / 0.4925 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.1175, allocations: 8 kB / 0.4925 GB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.1175, allocations: 8 kB / 0.4925 GB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008353/0.1184, allocations: 326.3 kB / 0.4928 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.1204, allocations: 1.216 MB / 0.494 GB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1214, allocations: 353.3 kB / 0.4943 GB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.1219, allocations: 188.2 kB / 0.4945 GB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1219, allocations: 4 kB / 0.4945 GB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005641/0.1225, allocations: 240.9 kB / 0.4947 GB, free: 8.359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.1225, allocations: 0 / 0.4947 GB, free: 8.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.00134/0.1238, allocations: 0.4893 MB / 0.4952 GB, free: 7.863 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.1239, allocations: 85.05 kB / 0.4953 GB, free: 7.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.1242, allocations: 292.2 kB / 0.4956 GB, free: 7.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.1243, allocations: 33.7 kB / 0.4956 GB, free: 7.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1244, allocations: 200.6 kB / 0.4958 GB, free: 7.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.1246, allocations: 95.33 kB / 0.4959 GB, free: 7.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1247, allocations: 61.69 kB / 0.4959 GB, free: 7.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1249, allocations: 334.8 kB / 0.4963 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.1253, allocations: 177.6 kB / 0.4964 GB, free: 6.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.1257, allocations: 230.7 kB / 0.4966 GB, free: 6.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008161/0.1266, allocations: 375.1 kB / 0.497 GB, free: 5.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1266, allocations: 0 / 0.497 GB, free: 5.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001036/0.1276, allocations: 488.5 kB / 0.4975 GB, free: 5.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.1276, allocations: 33.7 kB / 0.4975 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1276, allocations: 160 / 0.4975 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1277, allocations: 8 kB / 0.4975 GB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.1287, allocations: 215.7 kB / 0.4977 GB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.1305, allocations: 1.573 MB / 0.4993 GB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.1308, allocations: 47.75 kB / 0.4993 GB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.1308, allocations: 15.98 kB / 0.4993 GB, free: 3.406 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.0002277/0.1311, allocations: 178.5 kB / 0.4995 GB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.1311, allocations: 35.94 kB / 0.4995 GB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009162/0.132, allocations: 371.6 kB / 0.4999 GB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.132, allocations: 4 kB / 0.4999 GB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.132, allocations: 0 / 0.4999 GB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.132, allocations: 0 / 0.4999 GB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.1325, allocations: 372.4 kB / 0.5002 GB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1325, allocations: 4 kB / 0.5002 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.1335, allocations: 203.7 kB / 0.5004 GB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.1335, allocations: 4 kB / 0.5004 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.1335, allocations: 8 kB / 0.5004 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.1352, allocations: 1.576 MB / 0.502 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1352, allocations: 32 / 0.502 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.1366, allocations: 0.5834 MB / 0.5025 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.1366, allocations: 27.81 kB / 0.5026 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.1367, allocations: 12.03 kB / 0.5026 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1369, allocations: 27.97 kB / 0.5026 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.137, allocations: 27.95 kB / 0.5026 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.137, allocations: 8 kB / 0.5026 GB, free: 15.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.1373, allocations: 211.1 kB / 0.5028 GB, free: 15.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1373, allocations: 4 kB / 0.5029 GB, free: 15.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.1377, allocations: 87.83 kB / 0.5029 GB, free: 15.5 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.001679/0.1394, allocations: 1.133 MB / 0.504 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.141, allocations: 0.5322 MB / 0.5046 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.141, allocations: 192 / 0.5046 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.142, allocations: 311.5 kB / 0.5049 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.0003632/0.1424, allocations: 44.89 kB / 0.5049 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005968/0.1484, allocations: 3.696 MB / 0.5085 GB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.1486, allocations: 188.8 kB / 0.5087 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.1487, allocations: 34.27 kB / 0.5087 GB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.1489, allocations: 103.4 kB / 0.5088 GB, free: 9.246 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1489, allocations: 0 / 0.5088 GB, free: 9.246 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.1801, allocations: 7.43 MB / 0.5161 GB, free: 2.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.31, allocations: 4.562 kB / 0.5161 GB, free: 2.016 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: 16.06844311102759] Failed to read output from testmodel.py, exit status != 0: 13.478104592999443 13.672756297 13.555937768 Calling exit ...