Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.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.001637/0.001637, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001653/0.001653, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.402/1.402, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.002453/0.002453, allocations: 293.8 kB / 303 MB, free: 9.52 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.229/1.229, allocations: 180.9 MB / 0.5261 GB, free: 14.68 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: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 97.75 kB / 0.7247 GB, free: 39.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.188, allocations: 94.16 MB / 0.8167 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002937/0.1909, allocations: 1.518 MB / 0.8182 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1924, allocations: 0.5557 MB / 0.8187 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.944e-05/0.1925, allocations: 0 / 0.8187 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.1926, allocations: 7.875 kB / 0.8187 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.1928, allocations: 31.84 kB / 0.8187 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009413/0.1937, allocations: 307.9 kB / 0.819 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005697/0.1943, allocations: 479.4 kB / 0.8195 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.1944, allocations: 4 kB / 0.8195 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.1947, allocations: 279.6 kB / 0.8198 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002803/0.195, allocations: 143.7 kB / 0.8199 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.92e-05/0.1951, allocations: 28 kB / 0.8199 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.177e-05/0.1952, allocations: 24 kB / 0.82 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.1953, allocations: 119.6 kB / 0.8201 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.1955, allocations: 183.1 kB / 0.8202 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.196, allocations: 426.7 kB / 0.8207 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.196, allocations: 0 / 0.8207 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.196, allocations: 0 / 0.8207 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.196, allocations: 3.938 kB / 0.8207 GB, free: 1.457 MB / 0.5606 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.001341/0.1974, allocations: 0.8898 MB / 0.8215 GB, free: 488 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1974, allocations: 12.03 kB / 0.8215 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.016e-05/0.1975, allocations: 38.73 kB / 0.8216 GB, free: 428 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1976, allocations: 56.64 kB / 0.8216 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/0.1981, allocations: 314.6 kB / 0.8219 GB, free: 20 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.1981, allocations: 12.38 kB / 0.8219 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.441e-05/0.1982, allocations: 28.41 kB / 0.822 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/0.1991, allocations: 217.9 kB / 0.8222 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.1991, allocations: 7.875 kB / 0.8222 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1992, allocations: 0 / 0.8222 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1992, allocations: 4 kB / 0.8222 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.1999, allocations: 91.92 kB / 0.8223 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.2004, allocations: 401.2 kB / 0.8227 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009367/0.2013, allocations: 162.5 kB / 0.8228 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/0.202, allocations: 108.8 kB / 0.8229 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.202, allocations: 0 / 0.8229 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009212/0.203, allocations: 223 kB / 0.8231 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.203, allocations: 8 kB / 0.8231 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002316/0.2053, allocations: 477.1 kB / 0.8236 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.2053, allocations: 63.41 kB / 0.8236 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.2058, allocations: 413.9 kB / 0.824 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.2058, allocations: 41.69 kB / 0.8241 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.2059, allocations: 89.45 kB / 0.8242 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.206, allocations: 47.67 kB / 0.8242 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.2062, allocations: 125.5 kB / 0.8243 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2063, allocations: 322.8 kB / 0.8246 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.2066, allocations: 123.9 kB / 0.8248 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.2069, allocations: 174.8 kB / 0.8249 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.2073, allocations: 271.7 kB / 0.8252 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2073, allocations: 0 / 0.8252 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008057/0.2081, allocations: 492.6 kB / 0.8257 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.331e-05/0.2082, allocations: 91.31 kB / 0.8257 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2082, allocations: 4 kB / 0.8257 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2082, allocations: 8.172 kB / 0.8258 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.2084, allocations: 27.92 kB / 0.8258 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.2084, allocations: 4 kB / 0.8258 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.2088, allocations: 51.91 kB / 0.8258 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/0.2089, allocations: 55.98 kB / 0.8259 GB, free: 11.74 MB / 0.5762 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.000242/0.2092, allocations: 201.6 kB / 0.8261 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.2092, allocations: 51.59 kB / 0.8261 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.079e-05/0.2093, allocations: 39.75 kB / 0.8262 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2093, allocations: 4 kB / 0.8262 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2093, allocations: 0 / 0.8262 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.2093, allocations: 7.969 kB / 0.8262 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.2114, allocations: 0.7424 MB / 0.8269 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2114, allocations: 7.938 kB / 0.8269 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.2115, allocations: 3.938 kB / 0.8269 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2115, allocations: 4 kB / 0.8269 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.2115, allocations: 19.97 kB / 0.8269 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2115, allocations: 0 / 0.8269 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2115, allocations: 0 / 0.8269 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.2131, allocations: 475.5 kB / 0.8274 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.2134, allocations: 200.7 kB / 0.8276 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.2135, allocations: 12 kB / 0.8276 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.2139, allocations: 43.95 kB / 0.8276 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.2139, allocations: 7.984 kB / 0.8276 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/0.214, allocations: 51.98 kB / 0.8277 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003029/0.2143, allocations: 299.1 kB / 0.828 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2143, allocations: 0 / 0.828 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00036/0.2147, allocations: 63.98 kB / 0.828 GB, free: 9.438 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: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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 0.001982/0.2167, allocations: 1.03 MB / 0.829 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.2179, allocations: 406.4 kB / 0.8294 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2179, allocations: 0 / 0.8294 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006849/0.2186, allocations: 115.8 kB / 0.8295 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.2189, allocations: 25.91 kB / 0.8296 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.2232, allocations: 2.808 MB / 0.8323 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.2236, allocations: 0.7747 MB / 0.8331 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.774e-05/0.2237, allocations: 13.08 kB / 0.8331 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.2237, allocations: 27.38 kB / 0.8331 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.2237, allocations: 0 / 0.8331 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.2535, allocations: 6.241 MB / 0.8392 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.297, allocations: 3.938 kB / 0.8392 GB, free: 13.8 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.708903853781521] Failed to read output from testmodel.py, exit status != 0: 8.364992065355182 8.378297359 8.179494417 Calling exit ...