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.001525/0.001525, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001897/0.001897, allocations: 214.1 kB / 22.24 MB, free: 4.859 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.633/1.633, allocations: 230.6 MB / 256 MB, free: 7.781 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.02616/0.02616, allocations: 4.714 MB / 317.1 MB, free: 14.31 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.002413/0.002413, allocations: 59.91 kB / 441.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1269, allocations: 54.51 MB / 496.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.005658/0.1325, allocations: 2.707 MB / 498.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1344, allocations: 0.7324 MB / 499.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.1347, allocations: 11.94 kB / 499.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.135, allocations: 39.58 kB / 499.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.1354, allocations: 91.14 kB / 499.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.1361, allocations: 135.8 kB / 499.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008135/0.1369, allocations: 406.5 kB / 0.4885 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004988/0.1374, allocations: 154.4 kB / 0.4887 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004976/0.1379, allocations: 159.5 kB / 0.4888 GB, free: 13.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.1383, allocations: 143.4 kB / 0.489 GB, free: 13.67 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.1384, allocations: 40 kB / 0.489 GB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.1385, allocations: 52 kB / 0.4891 GB, free: 13.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1386, allocations: 83.69 kB / 0.4892 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.1389, allocations: 139.5 kB / 0.4893 GB, free: 13.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006976/0.1396, allocations: 434.5 kB / 0.4897 GB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1396, allocations: 3.938 kB / 0.4897 GB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1396, allocations: 4 kB / 0.4897 GB, free: 12.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.1396, allocations: 4 kB / 0.4897 GB, free: 12.92 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.001683/0.1413, allocations: 0.5814 MB / 0.4903 GB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.1414, allocations: 12.03 kB / 0.4903 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.1418, allocations: 60.7 kB / 0.4903 GB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.1422, allocations: 222 kB / 0.4906 GB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.1423, allocations: 16.88 kB / 0.4906 GB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.1423, allocations: 24.38 kB / 0.4906 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000773/0.1431, allocations: 334.9 kB / 0.4909 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1431, allocations: 0 / 0.4909 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.1431, allocations: 16 kB / 0.4909 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.1432, allocations: 4 kB / 0.4909 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007224/0.1439, allocations: 277.8 kB / 0.4912 GB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.1458, allocations: 0.8314 MB / 0.492 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000855/0.1466, allocations: 287 kB / 0.4923 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.147, allocations: 148.7 kB / 0.4924 GB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.1471, allocations: 11.94 kB / 0.4924 GB, free: 10 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005661/0.1477, allocations: 186.1 kB / 0.4926 GB, free: 9.809 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.524e-06/0.1477, allocations: 0 / 0.4926 GB, free: 9.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001274/0.1489, allocations: 421.2 kB / 0.493 GB, free: 9.391 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.149, allocations: 59.34 kB / 0.4931 GB, free: 9.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.1493, allocations: 228 kB / 0.4933 GB, free: 9.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.1493, allocations: 33.7 kB / 0.4933 GB, free: 9.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1495, allocations: 168.6 kB / 0.4935 GB, free: 8.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.34e-05/0.1496, allocations: 71.39 kB / 0.4936 GB, free: 8.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1497, allocations: 49.66 kB / 0.4936 GB, free: 8.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1499, allocations: 338.8 kB / 0.4939 GB, free: 8.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.1502, allocations: 153.6 kB / 0.4941 GB, free: 8.254 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.1506, allocations: 193 kB / 0.4943 GB, free: 8.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/0.1513, allocations: 313.2 kB / 0.4946 GB, free: 7.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1513, allocations: 4 kB / 0.4946 GB, free: 7.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008919/0.1522, allocations: 407.8 kB / 0.4949 GB, free: 7.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.1523, allocations: 45.62 kB / 0.495 GB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1523, allocations: 0 / 0.495 GB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.1523, allocations: 3.938 kB / 0.495 GB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.1527, allocations: 64.05 kB / 0.4951 GB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1527, allocations: 4 kB / 0.4951 GB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.1529, allocations: 31.86 kB / 0.4951 GB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.153, allocations: 8 kB / 0.4951 GB, free: 7.145 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.0002428/0.1532, allocations: 172.6 kB / 0.4953 GB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/0.1533, allocations: 23.8 kB / 0.4953 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008834/0.1541, allocations: 336.8 kB / 0.4956 GB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1542, allocations: 0 / 0.4956 GB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.1542, allocations: 4 kB / 0.4956 GB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1542, allocations: 3.984 kB / 0.4956 GB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.1546, allocations: 269.1 kB / 0.4959 GB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.1546, allocations: 3.984 kB / 0.4959 GB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.155, allocations: 55.97 kB / 0.4959 GB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.155, allocations: 0 / 0.4959 GB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.155, allocations: 11.98 kB / 0.4959 GB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.129e-05/0.155, allocations: 19.8 kB / 0.496 GB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.155, allocations: 0 / 0.496 GB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.1563, allocations: 494.7 kB / 0.4964 GB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.089e-05/0.1564, allocations: 19.83 kB / 0.4964 GB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.1564, allocations: 16.05 kB / 0.4965 GB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1566, allocations: 27.86 kB / 0.4965 GB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1567, allocations: 23.95 kB / 0.4965 GB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.1567, allocations: 12 kB / 0.4965 GB, free: 5.621 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.157, allocations: 161.6 kB / 0.4967 GB, free: 5.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.157, allocations: 0 / 0.4967 GB, free: 5.465 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003771/0.1573, allocations: 71.89 kB / 0.4967 GB, free: 5.395 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.0002043/0.1575, allocations: 99.19 kB / 0.4968 GB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009138/0.1585, allocations: 376.7 kB / 0.4972 GB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1585, allocations: 4 kB / 0.4972 GB, free: 4.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.1588, allocations: 131.9 kB / 0.4973 GB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1592, allocations: 36.53 kB / 0.4974 GB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1607, allocations: 0.646 MB / 0.498 GB, free: 4.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.161, allocations: 170.5 kB / 0.4982 GB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.1611, allocations: 33.62 kB / 0.4982 GB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.1612, allocations: 15.44 kB / 0.4982 GB, free: 3.824 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1612, allocations: 0 / 0.4982 GB, free: 3.824 MB / 366.1 MB Notification: Performance of Templates: time 0.008365/0.1696, allocations: 3.038 MB / 0.5012 GB, free: 0.8242 MB / 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: 5.062644841149449] Failed to read output from testmodel.py, exit status != 0: 0.18083425611257553 0.20245895100000003 0.058352018000000005 Calling exit ...