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.7222/0.7222, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 184.8 kB / 169.7 MB, free: 1.73 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.594/1.594, allocations: 205.1 MB / 404.5 MB, free: 1.574 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.0009204/0.0009204, allocations: 86.47 kB / 481.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.119e-05, allocations: 0 / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 76.76 MB / 0.6282 GB, free: 9.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5828, allocations: 104.4 MB / 0.7302 GB, free: 8.918 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.5831, allocations: 67.53 kB / 0.7303 GB, free: 8.883 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01357/0.5967, allocations: 4.664 MB / 0.7349 GB, free: 4.844 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5967, allocations: 4 kB / 0.7349 GB, free: 4.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.5967, allocations: 3.312 kB / 0.7349 GB, free: 4.84 MB / 490.7 MB 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.001059/0.5978, allocations: 0.5497 MB / 0.7354 GB, free: 4.238 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.5979, allocations: 8.031 kB / 0.7354 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.866e-05/0.598, allocations: 38 kB / 0.7354 GB, free: 4.188 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.5981, allocations: 31.67 kB / 0.7355 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.5983, allocations: 195.9 kB / 0.7357 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.5984, allocations: 10.94 kB / 0.7357 GB, free: 3.914 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/0.5985, allocations: 15.98 kB / 0.7357 GB, free: 3.898 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.5988, allocations: 136.5 kB / 0.7358 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.5988, allocations: 0 / 0.7358 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.5988, allocations: 11.17 kB / 0.7358 GB, free: 3.773 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.5988, allocations: 3.938 kB / 0.7358 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.599, allocations: 48.81 kB / 0.7359 GB, free: 3.734 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.5994, allocations: 309.5 kB / 0.7362 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.5996, allocations: 117.4 kB / 0.7363 GB, free: 3.336 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.5997, allocations: 58.72 kB / 0.7363 GB, free: 3.289 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.5998, allocations: 3.375 kB / 0.7363 GB, free: 3.289 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.6002, allocations: 199.8 kB / 0.7365 GB, free: 3.105 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 4.167e-06/0.6002, allocations: 0 / 0.7365 GB, free: 3.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004805/0.6007, allocations: 213.2 kB / 0.7367 GB, free: 2.922 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.6007, allocations: 59.34 kB / 0.7368 GB, free: 2.855 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.6009, allocations: 199.6 kB / 0.737 GB, free: 2.684 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.601, allocations: 37.45 kB / 0.737 GB, free: 2.645 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.6011, allocations: 95.95 kB / 0.7371 GB, free: 2.551 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.518e-05/0.6011, allocations: 43.22 kB / 0.7372 GB, free: 2.516 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.6012, allocations: 10.44 kB / 0.7372 GB, free: 2.512 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6013, allocations: 321.8 kB / 0.7375 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.6015, allocations: 93.83 kB / 0.7376 GB, free: 2.129 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.6018, allocations: 148.8 kB / 0.7377 GB, free: 1.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.602, allocations: 155.1 kB / 0.7378 GB, free: 1.855 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6021, allocations: 0 / 0.7378 GB, free: 1.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006975/0.6028, allocations: 396.7 kB / 0.7382 GB, free: 1.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.6028, allocations: 70.73 kB / 0.7383 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6029, allocations: 4 kB / 0.7383 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6029, allocations: 4 kB / 0.7383 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.6031, allocations: 31.78 kB / 0.7383 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.6031, allocations: 0 / 0.7383 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.6035, allocations: 51.69 kB / 0.7384 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.054e-05/0.6036, allocations: 43.98 kB / 0.7384 GB, free: 1.316 MB / 490.7 MB 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.0001416/0.6037, allocations: 137.2 kB / 0.7386 GB, free: 1.188 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.6038, allocations: 15.81 kB / 0.7386 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.6038, allocations: 24.64 kB / 0.7386 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.6038, allocations: 0 / 0.7386 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6038, allocations: 0 / 0.7386 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6038, allocations: 0 / 0.7386 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.6047, allocations: 0.5415 MB / 0.7391 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.6047, allocations: 4 kB / 0.7391 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/0.6047, allocations: 7.125 kB / 0.7391 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6047, allocations: 3.938 kB / 0.7391 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.6048, allocations: 15.97 kB / 0.7392 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6048, allocations: 0 / 0.7392 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.6048, allocations: 0 / 0.7392 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.6052, allocations: 312.4 kB / 0.7395 GB, free: 316 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.6054, allocations: 143.6 kB / 0.7396 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.6054, allocations: 11.25 kB / 0.7396 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.6056, allocations: 15.36 kB / 0.7396 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.6057, allocations: 11.98 kB / 0.7396 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.6057, allocations: 22.98 kB / 0.7396 GB, free: 112 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001563/0.6059, allocations: 166.7 kB / 0.7398 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6059, allocations: 0 / 0.7398 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003386/0.6062, allocations: 55.11 kB / 0.7399 GB, free: 15.92 MB / 0.4948 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.0007222/0.607, allocations: 0.8512 MB / 0.7407 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.6075, allocations: 344.5 kB / 0.741 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6075, allocations: 0 / 0.741 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.6077, allocations: 69.02 kB / 0.7411 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.6079, allocations: 24.16 kB / 0.7411 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.6086, allocations: 270.9 kB / 0.7414 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.6089, allocations: 0.732 MB / 0.7421 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000126/0.6091, allocations: 37.14 kB / 0.7421 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.6092, allocations: 42.98 kB / 0.7422 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/0.6092, allocations: 0 / 0.7422 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.628, allocations: 4.997 MB / 0.747 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.6282, allocations: 166.2 kB / 0.7472 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.194, allocations: 0 / 0.7472 GB, free: 8.516 MB / 0.4948 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)