Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.0007966/0.0007966, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007516/0.0007516, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.833/0.833, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001567/0.001567, allocations: 221.4 kB / 260.2 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6406/0.6406, allocations: 138.4 MB / 455.1 MB, free: 1.629 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6475 GB, free: 28.74 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.854e-05, allocations: 8.188 kB / 0.6475 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.001665/0.001694, allocations: 1.518 MB / 0.649 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009152/0.002609, allocations: 0.5391 MB / 0.6495 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.002662, allocations: 4 kB / 0.6495 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.452e-05/0.002757, allocations: 5.062 kB / 0.6495 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.992e-05/0.002856, allocations: 27.44 kB / 0.6495 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.003381, allocations: 327 kB / 0.6498 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.003675, allocations: 486.9 kB / 0.6503 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.003708, allocations: 2.875 kB / 0.6503 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.003987, allocations: 353.7 kB / 0.6506 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.004156, allocations: 133.8 kB / 0.6508 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.004202, allocations: 26.91 kB / 0.6508 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.269e-05/0.004245, allocations: 26.94 kB / 0.6508 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.173e-05/0.004327, allocations: 123.5 kB / 0.6509 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 9.693e-05/0.004424, allocations: 122.7 kB / 0.6511 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.004709, allocations: 465.3 kB / 0.6515 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.004711, allocations: 0 / 0.6515 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004711, allocations: 0 / 0.6515 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.004716, allocations: 0 / 0.6515 GB, free: 25.86 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006726/0.005389, allocations: 0.8013 MB / 0.6523 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.005422, allocations: 10.41 kB / 0.6523 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.005507, allocations: 50.86 kB / 0.6523 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.005716, allocations: 260.4 kB / 0.6526 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.005746, allocations: 14.5 kB / 0.6526 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.005792, allocations: 30.98 kB / 0.6526 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.006269, allocations: 227.4 kB / 0.6529 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.006276, allocations: 4.188 kB / 0.6529 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.006293, allocations: 1.812 kB / 0.6529 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.006297, allocations: 1.531 kB / 0.6529 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.006641, allocations: 121.6 kB / 0.653 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.006847, allocations: 287.6 kB / 0.6532 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.007319, allocations: 190.7 kB / 0.6534 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.00765, allocations: 112.7 kB / 0.6535 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.00767, allocations: 1.594 kB / 0.6535 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004247/0.008094, allocations: 241.1 kB / 0.6538 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.008095, allocations: 0 / 0.6538 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.001188/0.009283, allocations: 0.5277 MB / 0.6543 GB, free: 24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.009307, allocations: 64.22 kB / 0.6543 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.009538, allocations: 412.7 kB / 0.6547 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.009566, allocations: 42.22 kB / 0.6548 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.009603, allocations: 97.09 kB / 0.6549 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.009629, allocations: 41.17 kB / 0.6549 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.00973, allocations: 126.2 kB / 0.655 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.913e-05/0.009759, allocations: 322.4 kB / 0.6553 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.009934, allocations: 193.3 kB / 0.6555 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.01011, allocations: 247.8 kB / 0.6558 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.01036, allocations: 276.4 kB / 0.656 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.01036, allocations: 1.219 kB / 0.656 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005368/0.0109, allocations: 0.5548 MB / 0.6566 GB, free: 22.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.01094, allocations: 82.66 kB / 0.6566 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.01095, allocations: 1 kB / 0.6566 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01096, allocations: 3.906 kB / 0.6566 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/0.01106, allocations: 25.78 kB / 0.6567 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.01106, allocations: 6.156 kB / 0.6567 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.0113, allocations: 73.69 kB / 0.6568 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.01136, allocations: 60.86 kB / 0.6568 GB, free: 22.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001256/0.01149, allocations: 195.6 kB / 0.657 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.01152, allocations: 37.14 kB / 0.657 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.01156, allocations: 40.72 kB / 0.6571 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01157, allocations: 1.125 kB / 0.6571 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01157, allocations: 1.062 kB / 0.6571 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01157, allocations: 3.938 kB / 0.6571 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.01262, allocations: 0.7159 MB / 0.6578 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01262, allocations: 1.344 kB / 0.6578 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.01264, allocations: 2.719 kB / 0.6578 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01264, allocations: 1.688 kB / 0.6578 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.01267, allocations: 24.66 kB / 0.6578 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.01267, allocations: 1.469 kB / 0.6578 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01267, allocations: 4 kB / 0.6578 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/0.01348, allocations: 0.5022 MB / 0.6583 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.01364, allocations: 138.4 kB / 0.6584 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.01368, allocations: 21.56 kB / 0.6585 GB, free: 21.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.01388, allocations: 38.75 kB / 0.6585 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.01391, allocations: 18.58 kB / 0.6585 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.01396, allocations: 62.38 kB / 0.6586 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001664/0.01412, allocations: 295.5 kB / 0.6588 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.01412, allocations: 0 / 0.6588 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000228/0.01435, allocations: 65.8 kB / 0.6589 GB, free: 20.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 8.241e-05/0.01443, allocations: 117.5 kB / 0.659 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006117/0.01505, allocations: 493.9 kB / 0.6595 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01505, allocations: 0 / 0.6595 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.01537, allocations: 135.8 kB / 0.6596 GB, free: 20.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.01559, allocations: 26.02 kB / 0.6596 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.01629, allocations: 0.6071 MB / 0.6602 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.277e-05/0.01637, allocations: 163 kB / 0.6604 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.0164, allocations: 16.5 kB / 0.6604 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.0164, allocations: 4 kB / 0.6604 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.002738/0.01914, allocations: 3.695 MB / 0.664 GB, free: 15.64 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.193589267320931] Failed to read output from testmodel.py, exit status != 0: 0.023272479884326458 0.029762623000000002 0.023825993 Calling exit ...