Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001295/0.001295, allocations: 116.4 kB / 17.08 MB, free: 5.953 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.001298/0.001299, allocations: 193.2 kB / 20.03 MB, free: 3.027 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.389/1.389, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.161/1.161, allocations: 173.4 MB / 471.3 MB, free: 6.562 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 64.39 kB / 0.6489 GB, free: 22.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1917, allocations: 89.53 MB / 0.7364 GB, free: 3.676 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.003779/0.1956, allocations: 1.51 MB / 0.7379 GB, free: 2.152 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1971, allocations: 0.5345 MB / 0.7384 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1972, allocations: 0 / 0.7384 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1973, allocations: 15.81 kB / 0.7384 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1975, allocations: 31.62 kB / 0.7384 GB, free: 1.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1986, allocations: 310.5 kB / 0.7387 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008572/0.1995, allocations: 0.5112 MB / 0.7392 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.1996, allocations: 7.938 kB / 0.7392 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006043/0.2002, allocations: 271.6 kB / 0.7395 GB, free: 496 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.2006, allocations: 147.6 kB / 0.7396 GB, free: 348 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.2007, allocations: 28 kB / 0.7396 GB, free: 320 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.2009, allocations: 24 kB / 0.7397 GB, free: 296 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.201, allocations: 115.7 kB / 0.7398 GB, free: 180 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.2013, allocations: 187.1 kB / 0.74 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005663/0.2019, allocations: 422.3 kB / 0.7404 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2019, allocations: 0 / 0.7404 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2019, allocations: 0 / 0.7404 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.2019, allocations: 4 kB / 0.7404 GB, free: 15.57 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.001758/0.2037, allocations: 0.882 MB / 0.7412 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2037, allocations: 8.031 kB / 0.7412 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.2039, allocations: 48.7 kB / 0.7413 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.2044, allocations: 314.5 kB / 0.7416 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.2044, allocations: 24.3 kB / 0.7416 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.2045, allocations: 28.36 kB / 0.7416 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009829/0.2055, allocations: 206 kB / 0.7418 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2055, allocations: 4.188 kB / 0.7418 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.2056, allocations: 7.938 kB / 0.7418 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2056, allocations: 4 kB / 0.7418 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.2064, allocations: 103.9 kB / 0.7419 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.2069, allocations: 385.2 kB / 0.7423 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.208, allocations: 185.1 kB / 0.7425 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007575/0.2088, allocations: 108.8 kB / 0.7426 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.2088, allocations: 4 kB / 0.7426 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.2099, allocations: 220.3 kB / 0.7428 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.2099, allocations: 0 / 0.7428 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002758/0.2127, allocations: 490.7 kB / 0.7433 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.2127, allocations: 67.38 kB / 0.7433 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.2132, allocations: 409.9 kB / 0.7437 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/0.2133, allocations: 49.69 kB / 0.7438 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.2135, allocations: 93.44 kB / 0.7439 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.387e-05/0.2135, allocations: 35.7 kB / 0.7439 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.2137, allocations: 133.5 kB / 0.744 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2139, allocations: 318.8 kB / 0.7443 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.2142, allocations: 119.9 kB / 0.7444 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.2145, allocations: 173.9 kB / 0.7446 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.215, allocations: 283.5 kB / 0.7449 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.215, allocations: 0 / 0.7449 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000989/0.216, allocations: 480.7 kB / 0.7453 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-05/0.2161, allocations: 91.31 kB / 0.7454 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2162, allocations: 7.938 kB / 0.7454 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2162, allocations: 3.984 kB / 0.7454 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2163, allocations: 27.92 kB / 0.7455 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2164, allocations: 4 kB / 0.7455 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.2168, allocations: 64.02 kB / 0.7455 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/0.2169, allocations: 59.97 kB / 0.7456 GB, free: 9.883 MB / 0.5606 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.0002286/0.2172, allocations: 193.7 kB / 0.7458 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.2172, allocations: 43.66 kB / 0.7458 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.2173, allocations: 43.73 kB / 0.7459 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2173, allocations: 8 kB / 0.7459 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2173, allocations: 0 / 0.7459 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2174, allocations: 0 / 0.7459 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.2197, allocations: 0.7404 MB / 0.7466 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2197, allocations: 4 kB / 0.7466 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.2197, allocations: 7.984 kB / 0.7466 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2197, allocations: 3.938 kB / 0.7466 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.2198, allocations: 23.98 kB / 0.7466 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.2198, allocations: 3.984 kB / 0.7466 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2198, allocations: 0 / 0.7466 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.2216, allocations: 480.5 kB / 0.7471 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002687/0.2219, allocations: 196.7 kB / 0.7473 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.562e-05/0.222, allocations: 15.98 kB / 0.7473 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.2224, allocations: 31.97 kB / 0.7473 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.2225, allocations: 7.984 kB / 0.7473 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-05/0.2226, allocations: 63.97 kB / 0.7474 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003268/0.2229, allocations: 295.1 kB / 0.7477 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2229, allocations: 0 / 0.7477 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003757/0.2233, allocations: 60 kB / 0.7477 GB, free: 7.59 MB / 0.5606 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.0001566/0.2235, allocations: 120.9 kB / 0.7478 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.2248, allocations: 444.1 kB / 0.7483 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.2249, allocations: 4 kB / 0.7483 GB, free: 7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007813/0.2256, allocations: 119.9 kB / 0.7484 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.226, allocations: 29.47 kB / 0.7484 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2276, allocations: 0.5971 MB / 0.749 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.2281, allocations: 0.7746 MB / 0.7497 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.2281, allocations: 15.44 kB / 0.7498 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.2282, allocations: 0 / 0.7498 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.007692/0.2358, allocations: 3.724 MB / 0.7534 GB, free: 1.629 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.151834913995117] Failed to read output from testmodel.py, exit status != 0: 0.24264464993029833 0.257972858 0.053333953 Calling exit ...