Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.001575/0.001575, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001582/0.001582, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.793 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.02644/0.02644, allocations: 4.712 MB / 317.1 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: translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_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.002273/0.002273, allocations: 67.91 kB / 441.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1252, allocations: 54.5 MB / 496.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005957/0.1311, allocations: 3.65 MB / 499.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1332, allocations: 0.9505 MB / 0.489 GB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.1335, allocations: 11.94 kB / 0.489 GB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.1338, allocations: 91.16 kB / 0.4891 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.1341, allocations: 166.5 kB / 0.4893 GB, free: 13.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.1347, allocations: 203.7 kB / 0.4895 GB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.1359, allocations: 0.7558 MB / 0.4902 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000757/0.1366, allocations: 332.7 kB / 0.4905 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.1373, allocations: 295.1 kB / 0.4908 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005231/0.1378, allocations: 262.8 kB / 0.4911 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.1379, allocations: 84 kB / 0.4911 GB, free: 11.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1381, allocations: 92 kB / 0.4912 GB, free: 11.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.1383, allocations: 155.5 kB / 0.4914 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.1387, allocations: 283 kB / 0.4916 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.1399, allocations: 0.8486 MB / 0.4925 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1399, allocations: 4 kB / 0.4925 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1399, allocations: 0 / 0.4925 GB, free: 10.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.1399, allocations: 3.938 kB / 0.4925 GB, free: 10.04 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002203/0.1421, allocations: 0.8388 MB / 0.4933 GB, free: 9.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.1422, allocations: 8.031 kB / 0.4933 GB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004421/0.1426, allocations: 92.48 kB / 0.4934 GB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000665/0.1433, allocations: 346.1 kB / 0.4937 GB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.1433, allocations: 37.38 kB / 0.4938 GB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1434, allocations: 48.38 kB / 0.4938 GB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1446, allocations: 0.5929 MB / 0.4944 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1446, allocations: 0 / 0.4944 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.1447, allocations: 16 kB / 0.4944 GB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1447, allocations: 12 kB / 0.4944 GB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.1457, allocations: 475.6 kB / 0.4949 GB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.1484, allocations: 1.477 MB / 0.4963 GB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/0.1492, allocations: 389.7 kB / 0.4967 GB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005576/0.1498, allocations: 268.4 kB / 0.4969 GB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.1498, allocations: 4.281 kB / 0.4969 GB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006416/0.1505, allocations: 313.8 kB / 0.4972 GB, free: 5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.094e-06/0.1505, allocations: 0 / 0.4972 GB, free: 5 MB / 366.1 MB Notification: Performance of matching and sorting (n=38): time 0.001565/0.152, allocations: 0.6598 MB / 0.4979 GB, free: 4.336 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.1521, allocations: 81.11 kB / 0.498 GB, free: 4.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.1525, allocations: 312.6 kB / 0.4983 GB, free: 3.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.1525, allocations: 33.7 kB / 0.4983 GB, free: 3.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.1528, allocations: 276.2 kB / 0.4986 GB, free: 3.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.153, allocations: 134.9 kB / 0.4987 GB, free: 3.477 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1531, allocations: 78.08 kB / 0.4988 GB, free: 3.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1533, allocations: 350.8 kB / 0.4991 GB, free: 3.039 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.1538, allocations: 226.5 kB / 0.4993 GB, free: 2.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.1544, allocations: 309.1 kB / 0.4996 GB, free: 2.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.1555, allocations: 0.5022 MB / 0.5001 GB, free: 1.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1555, allocations: 3.938 kB / 0.5001 GB, free: 1.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00138/0.1569, allocations: 0.6229 MB / 0.5007 GB, free: 1.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.1569, allocations: 33.69 kB / 0.5007 GB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.1569, allocations: 7.938 kB / 0.5008 GB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1569, allocations: 4 kB / 0.5008 GB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.1575, allocations: 120 kB / 0.5009 GB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.1576, allocations: 12 kB / 0.5009 GB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.1579, allocations: 55.75 kB / 0.5009 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.1579, allocations: 12 kB / 0.5009 GB, free: 1.055 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0003421/0.1583, allocations: 221.9 kB / 0.5012 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.1584, allocations: 39.75 kB / 0.5012 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.1594, allocations: 457.2 kB / 0.5016 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.1594, allocations: 7.984 kB / 0.5016 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.1594, allocations: 0 / 0.5016 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1594, allocations: 0 / 0.5016 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007702/0.1602, allocations: 452.8 kB / 0.5021 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.1602, allocations: 4 kB / 0.5021 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.1608, allocations: 107.8 kB / 0.5022 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.1608, allocations: 4 kB / 0.5022 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.1608, allocations: 12 kB / 0.5022 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1608, allocations: 0 / 0.5022 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1608, allocations: 4 kB / 0.5022 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.1625, allocations: 0.782 MB / 0.503 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1627, allocations: 31.7 kB / 0.503 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.1627, allocations: 12.06 kB / 0.503 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.163, allocations: 31.97 kB / 0.503 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.1631, allocations: 39.88 kB / 0.5031 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.1631, allocations: 4 kB / 0.5031 GB, free: 14.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003612/0.1635, allocations: 235 kB / 0.5033 GB, free: 14.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1635, allocations: 0 / 0.5033 GB, free: 14.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005562/0.164, allocations: 135.6 kB / 0.5034 GB, free: 14.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.0001476/0.1642, allocations: 112.5 kB / 0.5035 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.1654, allocations: 0.5294 MB / 0.5041 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1654, allocations: 0 / 0.5041 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005218/0.166, allocations: 232.1 kB / 0.5043 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.1664, allocations: 77.2 kB / 0.5043 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.1692, allocations: 1.177 MB / 0.5055 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1695, allocations: 267.8 kB / 0.5058 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002681/0.1698, allocations: 58.94 kB / 0.5058 GB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.1699, allocations: 23.44 kB / 0.5058 GB, free: 11.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1699, allocations: 4 kB / 0.5058 GB, free: 11.89 MB / 382.1 MB Notification: Performance of Templates: time 0.01209/0.182, allocations: 4.888 MB / 0.5106 GB, free: 7.07 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.263656048104167] Failed to read output from testmodel.py, exit status != 0: 0.19270304962992668 0.40962991899999995 0.26616074300000003 Calling exit ...