Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7271/0.7271, allocations: 127.4 MB / 134.9 MB, free: 3.453 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 177.7 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 103.4 kB / 476.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.686e-05, allocations: 2.531 kB / 0.5467 GB, free: 95.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1634, allocations: 76.76 MB / 0.6216 GB, free: 43.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.3046, allocations: 103.8 MB / 0.723 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.305, allocations: 75.89 kB / 0.723 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01357/0.3186, allocations: 4.648 MB / 0.7276 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3186, allocations: 0 / 0.7276 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.3186, allocations: 0 / 0.7276 GB, free: 14.37 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.0008002/0.3194, allocations: 0.5516 MB / 0.7281 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3195, allocations: 12.03 kB / 0.7281 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.3196, allocations: 31.67 kB / 0.7281 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3197, allocations: 184 kB / 0.7283 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3198, allocations: 4 kB / 0.7283 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/0.3198, allocations: 16 kB / 0.7283 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001051/0.3199, allocations: 35.98 kB / 0.7284 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.3201, allocations: 141.5 kB / 0.7285 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3202, allocations: 0 / 0.7285 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.3202, allocations: 0 / 0.7285 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3202, allocations: 7.984 kB / 0.7285 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.3205, allocations: 289.8 kB / 0.7288 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.3207, allocations: 114.7 kB / 0.7289 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.3208, allocations: 48.84 kB / 0.729 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3209, allocations: 0 / 0.729 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003242/0.3212, allocations: 203 kB / 0.7291 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.3212, allocations: 4 kB / 0.7291 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003739/0.3216, allocations: 194.1 kB / 0.7293 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3216, allocations: 59.39 kB / 0.7294 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3218, allocations: 191 kB / 0.7296 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.3219, allocations: 33.7 kB / 0.7296 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.654e-05/0.3219, allocations: 96.81 kB / 0.7297 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.322, allocations: 39.55 kB / 0.7297 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.322, allocations: 0 / 0.7297 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3222, allocations: 330.8 kB / 0.7301 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3223, allocations: 80.22 kB / 0.7301 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.3225, allocations: 143.8 kB / 0.7303 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3227, allocations: 72.64 kB / 0.7303 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3227, allocations: 4 kB / 0.7303 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005194/0.3232, allocations: 299.7 kB / 0.7306 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.3233, allocations: 73.73 kB / 0.7307 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3233, allocations: 4 kB / 0.7307 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3233, allocations: 4 kB / 0.7307 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.3235, allocations: 27.92 kB / 0.7307 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3235, allocations: 8.172 kB / 0.7307 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.3238, allocations: 39.89 kB / 0.7308 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/0.3239, allocations: 39.97 kB / 0.7308 GB, free: 10.79 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: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.324, allocations: 135 kB / 0.7309 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002907/0.3243, allocations: 201.3 kB / 0.7311 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.3244, allocations: 19.72 kB / 0.7312 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.3244, allocations: 21.91 kB / 0.7312 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3245, allocations: 7.984 kB / 0.7312 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3245, allocations: 0 / 0.7312 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3245, allocations: 0 / 0.7312 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006618/0.3251, allocations: 498.8 kB / 0.7317 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3252, allocations: 0 / 0.7317 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.3252, allocations: 15.98 kB / 0.7317 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3252, allocations: 4 kB / 0.7317 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.3252, allocations: 7.984 kB / 0.7317 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3253, allocations: 4 kB / 0.7317 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3253, allocations: 4 kB / 0.7317 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.3256, allocations: 301.2 kB / 0.732 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.3258, allocations: 132.9 kB / 0.7321 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.3258, allocations: 11.98 kB / 0.7321 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.326, allocations: 12 kB / 0.7321 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3261, allocations: 19.95 kB / 0.7321 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.3261, allocations: 23.98 kB / 0.7322 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001125/0.3262, allocations: 157.6 kB / 0.7323 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3262, allocations: 0 / 0.7323 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003151/0.3265, allocations: 47.94 kB / 0.7324 GB, free: 9.109 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: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007085/0.3273, allocations: 0.8441 MB / 0.7332 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004481/0.3277, allocations: 323.4 kB / 0.7335 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3277, allocations: 4 kB / 0.7335 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.3278, allocations: 66.73 kB / 0.7336 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.3281, allocations: 12.66 kB / 0.7336 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.3287, allocations: 267.8 kB / 0.7338 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.329, allocations: 0.7318 MB / 0.7345 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.3291, allocations: 33.2 kB / 0.7346 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3293, allocations: 35.42 kB / 0.7346 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.3293, allocations: 0 / 0.7346 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.3514, allocations: 4.523 MB / 0.739 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.3516, allocations: 148.6 kB / 0.7392 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/1.934, allocations: 0 / 0.7392 GB, free: 1.98 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)