Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.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.00143/0.00143, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001511/0.001511, allocations: 192.4 kB / 22.23 MB, free: 5.09 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.32/1.32, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002481/0.002481, allocations: 281.1 kB / 306.5 MB, free: 8.367 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.127/1.127, allocations: 180.8 MB / 0.53 GB, free: 14.46 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 104.1 kB / 0.7308 GB, free: 38.92 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1559, allocations: 94.2 MB / 0.8228 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.00249/0.1584, allocations: 1.365 MB / 0.8242 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.1585, allocations: 31.88 kB / 0.8242 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.1586, allocations: 3.938 kB / 0.8242 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.1587, allocations: 15.92 kB / 0.8242 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.1588, allocations: 15.92 kB / 0.8242 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.1588, allocations: 4 kB / 0.8242 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.1589, allocations: 15.88 kB / 0.8242 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.1589, allocations: 4 kB / 0.8242 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.147e-05/0.1589, allocations: 11.97 kB / 0.8243 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.159, allocations: 3.938 kB / 0.8243 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.159, allocations: 4 kB / 0.8243 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.393e-05/0.159, allocations: 8 kB / 0.8243 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.603e-05/0.1591, allocations: 7.984 kB / 0.8243 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.1591, allocations: 3.938 kB / 0.8243 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.802e-05/0.1592, allocations: 35.78 kB / 0.8243 GB, free: 304 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1592, allocations: 0 / 0.8243 GB, free: 304 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1592, allocations: 4 kB / 0.8243 GB, free: 300 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.1592, allocations: 0 / 0.8243 GB, free: 300 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000323/0.1595, allocations: 266.1 kB / 0.8246 GB, free: 0 / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1595, allocations: 8.078 kB / 0.8246 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.1596, allocations: 4.938 kB / 0.8246 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1597, allocations: 114.5 kB / 0.8247 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.1597, allocations: 384 / 0.8247 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.1597, allocations: 4.312 kB / 0.8247 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.207e-05/0.1598, allocations: 34.2 kB / 0.8247 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1598, allocations: 4.188 kB / 0.8247 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1598, allocations: 3.938 kB / 0.8247 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.1598, allocations: 0 / 0.8247 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.1599, allocations: 4 kB / 0.8247 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.16, allocations: 128.8 kB / 0.8249 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.142e-05/0.16, allocations: 18.58 kB / 0.8249 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.1601, allocations: 12.86 kB / 0.8249 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.1601, allocations: 4 kB / 0.8249 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1601, allocations: 30.56 kB / 0.8249 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1601, allocations: 0 / 0.8249 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001238/0.1602, allocations: 41.62 kB / 0.825 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1603, allocations: 51.41 kB / 0.825 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1604, allocations: 113.8 kB / 0.8251 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1604, allocations: 25.7 kB / 0.8252 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.1604, allocations: 88.27 kB / 0.8252 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.1605, allocations: 7.953 kB / 0.8252 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.1605, allocations: 13.7 kB / 0.8253 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1606, allocations: 318.8 kB / 0.8256 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.1606, allocations: 3.938 kB / 0.8256 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-06/0.1606, allocations: 4 kB / 0.8256 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.1607, allocations: 12.8 kB / 0.8256 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1607, allocations: 0 / 0.8256 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.656e-05/0.1607, allocations: 41.75 kB / 0.8256 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1607, allocations: 8 kB / 0.8256 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1607, allocations: 3.938 kB / 0.8256 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1608, allocations: 0 / 0.8256 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.071e-05/0.1608, allocations: 0 / 0.8256 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.1608, allocations: 0 / 0.8256 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.158e-05/0.1608, allocations: 0 / 0.8256 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1608, allocations: 4 kB / 0.8256 GB, free: 14.76 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.946e-05/0.1609, allocations: 114.4 kB / 0.8257 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.1609, allocations: 11.97 kB / 0.8258 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.994e-05/0.161, allocations: 45.05 kB / 0.8258 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.161, allocations: 0 / 0.8258 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.161, allocations: 0 / 0.8258 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.161, allocations: 0 / 0.8258 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.533e-05/0.1611, allocations: 128.8 kB / 0.8259 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1611, allocations: 0 / 0.8259 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/0.1611, allocations: 0 / 0.8259 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.1611, allocations: 7.969 kB / 0.8259 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1611, allocations: 3.938 kB / 0.8259 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1611, allocations: 8.031 kB / 0.8259 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1611, allocations: 0 / 0.8259 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.09e-05/0.1612, allocations: 61.08 kB / 0.826 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.1612, allocations: 0 / 0.826 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1612, allocations: 7.922 kB / 0.826 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.1612, allocations: 0 / 0.826 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-06/0.1612, allocations: 0 / 0.826 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.1612, allocations: 8.031 kB / 0.826 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.1613, allocations: 91.27 kB / 0.8261 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1613, allocations: 0 / 0.8261 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001777/0.1615, allocations: 8 kB / 0.8261 GB, free: 14.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001819/0.1616, allocations: 104 kB / 0.8262 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.592e-05/0.1617, allocations: 11.94 kB / 0.8262 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1617, allocations: 0 / 0.8262 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.398e-06/0.1617, allocations: 11.92 kB / 0.8262 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1618, allocations: 0 / 0.8262 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.1621, allocations: 113.6 kB / 0.8263 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.1624, allocations: 0.6768 MB / 0.827 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.1624, allocations: 8.062 kB / 0.827 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.1624, allocations: 11.44 kB / 0.827 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1624, allocations: 4 kB / 0.827 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.002469/0.1649, allocations: 0.4951 MB / 0.8275 GB, free: 12.71 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.594604645855725] Failed to read output from testmodel.py, exit status != 0: 0.17171132285147905 0.18571147400000002 0.023756059000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbdd88e17b0>