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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.02931/0.02931, allocations: 4.708 MB / 307.4 MB, free: 5.211 MB / 238.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.91 kB / 427.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09649, allocations: 53.27 MB / 480.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.005083/0.1016, allocations: 3.212 MB / 484 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1032, allocations: 0.7835 MB / 484.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1033, allocations: 4 kB / 484.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.1035, allocations: 67.38 kB / 484.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.1037, allocations: 118.9 kB / 485 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.1042, allocations: 135.8 kB / 485.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000639/0.1048, allocations: 0.5063 MB / 485.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.1052, allocations: 194.9 kB / 485.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1054, allocations: 195.3 kB / 486 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.1057, allocations: 195.2 kB / 486.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.584e-05/0.1058, allocations: 56 kB / 486.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.423e-05/0.1058, allocations: 56 kB / 486.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.106, allocations: 111.6 kB / 486.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.1062, allocations: 231.1 kB / 486.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.1068, allocations: 0.545 MB / 487.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1068, allocations: 0 / 487.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1068, allocations: 0 / 487.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1068, allocations: 0 / 487.2 MB, free: 8.387 MB / 350.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.001623/0.1085, allocations: 0.7425 MB / 487.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1085, allocations: 8.031 kB / 487.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.904e-05/0.1086, allocations: 74.66 kB / 488 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.147e-05/0.1087, allocations: 40.7 kB / 488.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.1091, allocations: 318.7 kB / 488.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.1092, allocations: 62.91 kB / 488.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.1093, allocations: 28.38 kB / 488.5 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008199/0.1101, allocations: 396.9 kB / 488.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1101, allocations: 0 / 488.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.1102, allocations: 11.98 kB / 488.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.1102, allocations: 8 kB / 488.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008599/0.111, allocations: 326.3 kB / 489.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.1134, allocations: 1.499 MB / 490.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.1144, allocations: 369.2 kB / 491 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/0.1149, allocations: 185.3 kB / 491.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1149, allocations: 4 kB / 491.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005464/0.1155, allocations: 248.8 kB / 491.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.1155, allocations: 0 / 491.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001356/0.1168, allocations: 0.4894 MB / 492 MB, free: 3.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.1169, allocations: 81.11 kB / 492 MB, free: 3.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.1172, allocations: 287 kB / 492.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.1173, allocations: 33.7 kB / 492.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.1175, allocations: 196.5 kB / 492.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.1176, allocations: 91.27 kB / 492.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.1177, allocations: 61.72 kB / 492.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1179, allocations: 338.8 kB / 493 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.1183, allocations: 151.9 kB / 493.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.1188, allocations: 200.9 kB / 493.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.1196, allocations: 375.3 kB / 493.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1196, allocations: 3.938 kB / 493.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001038/0.1206, allocations: 454.9 kB / 494.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.1207, allocations: 37.69 kB / 494.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1207, allocations: 0 / 494.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1207, allocations: 4 kB / 494.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009987/0.1217, allocations: 211.8 kB / 494.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.1239, allocations: 1.679 MB / 496.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.1242, allocations: 47.78 kB / 496.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.1243, allocations: 11.98 kB / 496.2 MB, free: 14.88 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.0004499/0.1247, allocations: 177.8 kB / 496.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.1248, allocations: 27.81 kB / 496.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.1258, allocations: 372.4 kB / 496.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.1258, allocations: 8 kB / 496.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1258, allocations: 0 / 496.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1258, allocations: 0 / 496.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.1265, allocations: 457.2 kB / 497.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1265, allocations: 0 / 497.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.1275, allocations: 195.8 kB / 497.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.1275, allocations: 4 kB / 497.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.1276, allocations: 7.984 kB / 497.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.1295, allocations: 1.675 MB / 499.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1295, allocations: 0 / 499.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.1309, allocations: 0.5875 MB / 499.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.131, allocations: 108.9 kB / 499.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.131, allocations: 8 kB / 499.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.1313, allocations: 31.95 kB / 499.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.1314, allocations: 27.95 kB / 499.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.1314, allocations: 8 kB / 499.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002303/0.1316, allocations: 206 kB / 0.4883 GB, free: 10.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1316, allocations: 0 / 0.4883 GB, free: 10.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000441/0.1321, allocations: 83.84 kB / 0.4884 GB, free: 10.7 MB / 366.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.001782/0.1338, allocations: 1.128 MB / 0.4895 GB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.1355, allocations: 0.5069 MB / 0.49 GB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1355, allocations: 4.125 kB / 0.49 GB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.1365, allocations: 311.9 kB / 0.4903 GB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.1369, allocations: 48.8 kB / 0.4903 GB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006525/0.1435, allocations: 3.567 MB / 0.4938 GB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.1441, allocations: 0.7948 MB / 0.4946 GB, free: 4.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001854/0.1442, allocations: 30.28 kB / 0.4946 GB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.1444, allocations: 107.4 kB / 0.4947 GB, free: 4 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1444, allocations: 4 kB / 0.4947 GB, free: 3.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.1792, allocations: 6.941 MB / 0.5015 GB, free: 13.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.04, allocations: 16.14 kB / 0.5015 GB, free: 13.18 MB / 382.1 MB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 14.617094986140728] Failed to read output from testmodel.py, exit status != 0: 12.142934474628419 12.162557387 12.052602258 Calling exit ...