Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001306/0.001306, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001332/0.001332, allocations: 158.2 kB / 23.01 MB, free: 4.945 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.02407/0.02407, allocations: 3.572 MB / 263.4 MB, free: 13.21 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: translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") [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.002138/0.002138, allocations: 71.89 kB / 387.9 MB, free: 324 kB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1108, allocations: 54.46 MB / 442.3 MB, free: 9.758 MB / 414.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004409/0.1152, allocations: 2.72 MB / 445.1 MB, free: 7.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1168, allocations: 0.7207 MB / 445.8 MB, free: 6.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.1169, allocations: 8 kB / 445.8 MB, free: 6.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.1171, allocations: 39.53 kB / 445.8 MB, free: 6.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.1173, allocations: 83.2 kB / 445.9 MB, free: 6.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.1177, allocations: 127.8 kB / 446 MB, free: 6.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.1182, allocations: 390.5 kB / 446.4 MB, free: 5.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.1185, allocations: 128.8 kB / 446.5 MB, free: 5.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.1188, allocations: 159.5 kB / 446.7 MB, free: 5.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1191, allocations: 139.3 kB / 446.8 MB, free: 5.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.98e-05/0.1191, allocations: 36 kB / 446.9 MB, free: 5.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.974e-05/0.1192, allocations: 44 kB / 446.9 MB, free: 5.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.1193, allocations: 71.81 kB / 447 MB, free: 5.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.1195, allocations: 139.4 kB / 447.1 MB, free: 4.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.12, allocations: 414.5 kB / 447.5 MB, free: 4.551 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1201, allocations: 0 / 447.5 MB, free: 4.551 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1201, allocations: 0 / 447.5 MB, free: 4.551 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1201, allocations: 4 kB / 447.5 MB, free: 4.547 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001359/0.1214, allocations: 0.5732 MB / 448.1 MB, free: 3.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1215, allocations: 8.031 kB / 448.1 MB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.1217, allocations: 52.72 kB / 448.2 MB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.1221, allocations: 221.9 kB / 448.4 MB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.1221, allocations: 20.88 kB / 448.4 MB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.1222, allocations: 24.38 kB / 448.4 MB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006749/0.1228, allocations: 315 kB / 448.7 MB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1229, allocations: 0 / 448.7 MB, free: 3.273 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.1229, allocations: 12 kB / 448.7 MB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.1229, allocations: 4 kB / 448.7 MB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/0.1235, allocations: 241.8 kB / 449 MB, free: 3.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.125, allocations: 0.7885 MB / 449.8 MB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/0.1258, allocations: 263.1 kB / 450 MB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.1261, allocations: 132.7 kB / 450.2 MB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1262, allocations: 3.984 kB / 450.2 MB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004543/0.1266, allocations: 179.2 kB / 450.3 MB, free: 1.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.1266, allocations: 0 / 450.3 MB, free: 1.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00109/0.1277, allocations: 376.3 kB / 450.7 MB, free: 1.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.1278, allocations: 59.34 kB / 450.8 MB, free: 1.164 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.1281, allocations: 212.1 kB / 451 MB, free: 0.9414 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.1281, allocations: 33.7 kB / 451 MB, free: 0.9023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1283, allocations: 168.6 kB / 451.2 MB, free: 0.7344 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1284, allocations: 79.33 kB / 451.2 MB, free: 0.6562 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.1285, allocations: 49.7 kB / 451.3 MB, free: 0.6016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1287, allocations: 334.8 kB / 451.6 MB, free: 272 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.129, allocations: 137.6 kB / 451.7 MB, free: 128 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.1294, allocations: 181 kB / 451.9 MB, free: 15.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.13, allocations: 277.9 kB / 452.2 MB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.13, allocations: 3.938 kB / 452.2 MB, free: 15.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008262/0.1308, allocations: 387.8 kB / 452.6 MB, free: 15.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.1309, allocations: 49.66 kB / 452.6 MB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1309, allocations: 4 kB / 452.6 MB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1309, allocations: 0 / 452.6 MB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.1312, allocations: 63.89 kB / 452.7 MB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1312, allocations: 4 kB / 452.7 MB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.1315, allocations: 35.8 kB / 452.7 MB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.1315, allocations: 12 kB / 452.7 MB, free: 15.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.000168/0.1317, allocations: 147.8 kB / 452.9 MB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.1317, allocations: 31.8 kB / 452.9 MB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007432/0.1324, allocations: 299.4 kB / 453.2 MB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1325, allocations: 7.984 kB / 453.2 MB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1325, allocations: 0 / 453.2 MB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1325, allocations: 3.984 kB / 453.2 MB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.1328, allocations: 265.1 kB / 453.5 MB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1328, allocations: 0 / 453.5 MB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.1332, allocations: 63.89 kB / 453.5 MB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1332, allocations: 0 / 453.5 MB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1332, allocations: 4 kB / 453.5 MB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.1332, allocations: 3.938 kB / 453.6 MB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1332, allocations: 0 / 453.6 MB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1342, allocations: 456.6 kB / 454 MB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.1343, allocations: 23.89 kB / 454 MB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.1343, allocations: 4 kB / 454 MB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1345, allocations: 23.91 kB / 454.1 MB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/0.1346, allocations: 23.95 kB / 454.1 MB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.1346, allocations: 8 kB / 454.1 MB, free: 13.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1348, allocations: 153.6 kB / 454.2 MB, free: 13.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1348, allocations: 0 / 454.2 MB, free: 13.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.1351, allocations: 75.78 kB / 454.3 MB, free: 13.45 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001366/0.1353, allocations: 103.3 kB / 454.4 MB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000782/0.136, allocations: 344.1 kB / 454.7 MB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.136, allocations: 0 / 454.7 MB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.1364, allocations: 128 kB / 454.9 MB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.1367, allocations: 32.42 kB / 454.9 MB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1379, allocations: 0.6224 MB / 455.5 MB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.1381, allocations: 154.5 kB / 455.7 MB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.1382, allocations: 29.62 kB / 455.7 MB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/0.1383, allocations: 24.48 kB / 455.7 MB, free: 11.95 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1383, allocations: 0 / 455.7 MB, free: 11.95 MB / 430.1 MB Notification: Performance of Templates: time 0.006836/0.1451, allocations: 2.572 MB / 458.3 MB, free: 9.406 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.613719288026914] Failed to read output from testmodel.py, exit status != 0: 0.15395097492728382 0.168412213 0.04521051 Calling exit ...