Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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.001329/0.001329, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001477/0.001477, allocations: 222.6 kB / 23 MB, free: 4.91 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.02582/0.02582, allocations: 4.718 MB / 317.9 MB, free: 14.32 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_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") [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.00237/0.00237, allocations: 71.89 kB / 442.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1061, allocations: 54.49 MB / 496.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004626/0.1107, allocations: 2.712 MB / 499.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1124, allocations: 0.7324 MB / 0.4886 GB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.1126, allocations: 8 kB / 0.4886 GB, free: 14.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.1128, allocations: 51.52 kB / 0.4887 GB, free: 14.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.113, allocations: 87.14 kB / 0.4888 GB, free: 14.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.1135, allocations: 135.8 kB / 0.4889 GB, free: 14.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000509/0.114, allocations: 406.5 kB / 0.4893 GB, free: 14.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003354/0.1143, allocations: 162.3 kB / 0.4894 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.1146, allocations: 155.5 kB / 0.4896 GB, free: 13.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.1148, allocations: 147.3 kB / 0.4897 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.1149, allocations: 40 kB / 0.4898 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-05/0.115, allocations: 48 kB / 0.4898 GB, free: 13.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.645e-05/0.1151, allocations: 87.69 kB / 0.4899 GB, free: 13.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1153, allocations: 139.5 kB / 0.49 GB, free: 13.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.1158, allocations: 434.5 kB / 0.4905 GB, free: 12.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1158, allocations: 0 / 0.4905 GB, free: 12.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1158, allocations: 0 / 0.4905 GB, free: 12.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1158, allocations: 4 kB / 0.4905 GB, free: 12.94 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001285/0.1171, allocations: 0.5814 MB / 0.491 GB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1171, allocations: 12.03 kB / 0.491 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.1174, allocations: 56.72 kB / 0.4911 GB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.1178, allocations: 229.9 kB / 0.4913 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1178, allocations: 16.88 kB / 0.4913 GB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.1178, allocations: 24.38 kB / 0.4913 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.1185, allocations: 335 kB / 0.4917 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1185, allocations: 0 / 0.4917 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.1186, allocations: 15.94 kB / 0.4917 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1186, allocations: 7.938 kB / 0.4917 GB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.1193, allocations: 281.8 kB / 0.492 GB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.1208, allocations: 0.8197 MB / 0.4928 GB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/0.1216, allocations: 283 kB / 0.493 GB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.1219, allocations: 152.7 kB / 0.4932 GB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1219, allocations: 4 kB / 0.4932 GB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004331/0.1224, allocations: 190.5 kB / 0.4934 GB, free: 9.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.1224, allocations: 0 / 0.4934 GB, free: 9.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001074/0.1235, allocations: 417.2 kB / 0.4938 GB, free: 9.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.1235, allocations: 63.34 kB / 0.4938 GB, free: 9.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.1238, allocations: 228 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.1238, allocations: 33.7 kB / 0.4941 GB, free: 9.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.1239, allocations: 168.6 kB / 0.4942 GB, free: 8.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.947e-05/0.124, allocations: 83.31 kB / 0.4943 GB, free: 8.816 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.1241, allocations: 53.64 kB / 0.4944 GB, free: 8.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1243, allocations: 330.8 kB / 0.4947 GB, free: 8.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.1247, allocations: 149.6 kB / 0.4948 GB, free: 8.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.125, allocations: 201 kB / 0.495 GB, free: 8.059 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006621/0.1257, allocations: 313.2 kB / 0.4953 GB, free: 7.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1257, allocations: 0 / 0.4953 GB, free: 7.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008523/0.1266, allocations: 415.8 kB / 0.4957 GB, free: 7.312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.1266, allocations: 37.64 kB / 0.4957 GB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1266, allocations: 3.984 kB / 0.4957 GB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1266, allocations: 0 / 0.4957 GB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.127, allocations: 63.89 kB / 0.4958 GB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.127, allocations: 8.094 kB / 0.4958 GB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.1272, allocations: 31.86 kB / 0.4958 GB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1272, allocations: 12 kB / 0.4959 GB, free: 7.152 MB / 366.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 (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 (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.0001882/0.1274, allocations: 165.8 kB / 0.496 GB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.1274, allocations: 23.8 kB / 0.496 GB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008238/0.1283, allocations: 333.2 kB / 0.4964 GB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1283, allocations: 0 / 0.4964 GB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1283, allocations: 7.984 kB / 0.4964 GB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1283, allocations: 4 kB / 0.4964 GB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.1286, allocations: 273.1 kB / 0.4966 GB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1286, allocations: 0 / 0.4966 GB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.1289, allocations: 55.95 kB / 0.4967 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1289, allocations: 0 / 0.4967 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.129, allocations: 4 kB / 0.4967 GB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.129, allocations: 11.88 kB / 0.4967 GB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.129, allocations: 4 kB / 0.4967 GB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1301, allocations: 0.4909 MB / 0.4972 GB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.1301, allocations: 23.81 kB / 0.4972 GB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.1301, allocations: 8 kB / 0.4972 GB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.1303, allocations: 27.98 kB / 0.4972 GB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.1304, allocations: 19.95 kB / 0.4973 GB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1304, allocations: 8 kB / 0.4973 GB, free: 5.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.1306, allocations: 165.5 kB / 0.4974 GB, free: 5.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1306, allocations: 0 / 0.4974 GB, free: 5.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.1309, allocations: 71.89 kB / 0.4975 GB, free: 5.418 MB / 366.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,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 (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.0001156/0.131, allocations: 103.2 kB / 0.4976 GB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008153/0.1318, allocations: 374.5 kB / 0.4979 GB, free: 4.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1318, allocations: 4 kB / 0.4979 GB, free: 4.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.1322, allocations: 135.8 kB / 0.4981 GB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1325, allocations: 32.59 kB / 0.4981 GB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.1337, allocations: 0.6672 MB / 0.4988 GB, free: 4.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.1339, allocations: 166.5 kB / 0.4989 GB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.134, allocations: 23.44 kB / 0.4989 GB, free: 3.848 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.134, allocations: 0 / 0.4989 GB, free: 3.848 MB / 366.1 MB Notification: Performance of Templates: time 0.00616/0.1402, allocations: 3.613 MB / 0.5025 GB, free: 244 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.038466930855066] Failed to read output from testmodel.py, exit status != 0: 0.14819271117448807 0.163315766 0.044371166000000004 Calling exit ...