Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 118.2 kB / 17.09 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 198.8 kB / 18.02 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6685/0.6685, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 64.88 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.111, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002611/0.1136, allocations: 1.501 MB / 0.6342 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1148, allocations: 0.5383 MB / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.1149, allocations: 0 / 0.6347 GB, free: 2.363 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.978e-05/0.1149, allocations: 7.875 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.1151, allocations: 31.78 kB / 0.6347 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.1158, allocations: 321.8 kB / 0.635 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005923/0.1164, allocations: 0.4994 MB / 0.6355 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.1165, allocations: 11.98 kB / 0.6355 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.1169, allocations: 279.6 kB / 0.6358 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.1172, allocations: 139.4 kB / 0.6359 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.834e-05/0.1173, allocations: 28 kB / 0.636 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.1174, allocations: 28 kB / 0.636 GB, free: 1.035 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1176, allocations: 119.6 kB / 0.6361 GB, free: 0.918 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.1177, allocations: 191.1 kB / 0.6363 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.1181, allocations: 414.7 kB / 0.6367 GB, free: 332 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1181, allocations: 0 / 0.6367 GB, free: 332 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1181, allocations: 0 / 0.6367 GB, free: 332 kB / 478.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1182, allocations: 0 / 0.6367 GB, free: 332 kB / 478.1 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.001204/0.1194, allocations: 0.8742 MB / 0.6375 GB, free: 15.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1194, allocations: 8.031 kB / 0.6375 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1195, allocations: 52.47 kB / 0.6376 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.1199, allocations: 306.2 kB / 0.6379 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.1199, allocations: 24.36 kB / 0.6379 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.12, allocations: 24.38 kB / 0.6379 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009821/0.121, allocations: 214 kB / 0.6381 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.121, allocations: 192 / 0.6381 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.121, allocations: 3.938 kB / 0.6381 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1211, allocations: 0 / 0.6381 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000784/0.1218, allocations: 107.8 kB / 0.6382 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.1222, allocations: 385.2 kB / 0.6386 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.1233, allocations: 181.5 kB / 0.6388 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007702/0.1241, allocations: 104.8 kB / 0.6389 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1241, allocations: 4.375 kB / 0.6389 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009644/0.1251, allocations: 231.1 kB / 0.6391 GB, free: 13.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.1251, allocations: 0 / 0.6391 GB, free: 13.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.00256/0.1277, allocations: 484.8 kB / 0.6396 GB, free: 13.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1277, allocations: 67.33 kB / 0.6396 GB, free: 13.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.1281, allocations: 405.9 kB / 0.64 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.1281, allocations: 41.69 kB / 0.6401 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.1282, allocations: 97.44 kB / 0.6402 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.1283, allocations: 39.47 kB / 0.6402 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.1285, allocations: 133.2 kB / 0.6403 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1286, allocations: 322.8 kB / 0.6406 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.1288, allocations: 115.9 kB / 0.6407 GB, free: 11.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.1291, allocations: 170.4 kB / 0.6409 GB, free: 11.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.1294, allocations: 279.1 kB / 0.6412 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1294, allocations: 0 / 0.6412 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007288/0.1302, allocations: 0.4919 MB / 0.6417 GB, free: 10.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.712e-05/0.1302, allocations: 91.38 kB / 0.6417 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1303, allocations: 3.938 kB / 0.6417 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1303, allocations: 4 kB / 0.6417 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1304, allocations: 19.92 kB / 0.6418 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1305, allocations: 4 kB / 0.6418 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.1309, allocations: 60.02 kB / 0.6418 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.131, allocations: 63.97 kB / 0.6419 GB, free: 10.65 MB / 494.1 MB 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.0001973/0.1312, allocations: 201 kB / 0.6421 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.1313, allocations: 39.53 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.1313, allocations: 47.67 kB / 0.6422 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1314, allocations: 0 / 0.6422 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1314, allocations: 0 / 0.6422 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.1316, allocations: 204.4 kB / 0.6424 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.1317, allocations: 12 kB / 0.6424 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.1321, allocations: 35.95 kB / 0.6424 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.1322, allocations: 11.92 kB / 0.6424 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001681/0.1338, allocations: 412.8 kB / 0.6428 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00171/0.1356, allocations: 0.5371 MB / 0.6433 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007584/0.1363, allocations: 126.2 kB / 0.6435 GB, free: 9.004 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002573/0.1366, allocations: 295.1 kB / 0.6437 GB, free: 8.715 MB / 494.1 MB Notification: Performance of Backend: time 4.5e-07/0.1366, allocations: 0 / 0.6437 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000735/0.1374, allocations: 410.4 kB / 0.6441 GB, free: 8.281 MB / 494.1 MB Notification: Performance of SimCode: time 0.0008364/0.1382, allocations: 0.9401 MB / 0.645 GB, free: 7.293 MB / 494.1 MB Notification: Performance of Templates: time 0.007942/0.1462, allocations: 5.107 MB / 0.65 GB, free: 2.09 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)