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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007815/0.0007815, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008557/0.0008557, allocations: 222.9 kB / 22.26 MB, free: 3.691 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9621/0.9621, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8295/0.8295, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 65.48 kB / 0.7182 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5278, allocations: 102 MB / 0.8178 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002086/0.5299, allocations: 1.552 MB / 0.8193 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.5309, allocations: 0.5552 MB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.531, allocations: 0 / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.243e-05/0.5311, allocations: 10.12 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.5312, allocations: 27.92 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007621/0.532, allocations: 311.9 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.5325, allocations: 493 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.5325, allocations: 7.594 kB / 0.8207 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.5328, allocations: 270.8 kB / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.5331, allocations: 151 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.773e-05/0.5332, allocations: 27.09 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.083e-05/0.5333, allocations: 26.19 kB / 0.8211 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.5335, allocations: 119.4 kB / 0.8213 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.5337, allocations: 191.2 kB / 0.8214 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.5343, allocations: 420.3 kB / 0.8218 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5343, allocations: 3.938 kB / 0.8218 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5343, allocations: 1.125 kB / 0.8218 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.5343, allocations: 0 / 0.8218 GB, free: 14.98 MB / 0.6198 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.001165/0.5355, allocations: 0.8066 MB / 0.8226 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5355, allocations: 9.906 kB / 0.8226 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.5356, allocations: 39.55 kB / 0.8227 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.5357, allocations: 55.27 kB / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.536, allocations: 258.5 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.5361, allocations: 17.59 kB / 0.823 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.5361, allocations: 29 kB / 0.823 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.5367, allocations: 212.7 kB / 0.8232 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5368, allocations: 3.938 kB / 0.8232 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.5368, allocations: 6.609 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5368, allocations: 5.312 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.5372, allocations: 97.48 kB / 0.8233 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.5376, allocations: 363 kB / 0.8237 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.5382, allocations: 167.6 kB / 0.8238 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.5386, allocations: 100.5 kB / 0.8239 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.5386, allocations: 2.078 kB / 0.8239 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007085/0.5393, allocations: 227.1 kB / 0.8242 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/0.5393, allocations: 0 / 0.8242 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001617/0.5409, allocations: 489.6 kB / 0.8246 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.541, allocations: 64.98 kB / 0.8247 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.5414, allocations: 408 kB / 0.8251 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.5415, allocations: 40.23 kB / 0.8251 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.5415, allocations: 97.98 kB / 0.8252 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.5416, allocations: 42.14 kB / 0.8252 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.5417, allocations: 126.5 kB / 0.8254 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.5418, allocations: 323 kB / 0.8257 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.542, allocations: 120.3 kB / 0.8258 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.5424, allocations: 165.7 kB / 0.8259 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.5427, allocations: 280.2 kB / 0.8262 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5427, allocations: 0 / 0.8262 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006415/0.5433, allocations: 498.9 kB / 0.8267 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.5434, allocations: 91 kB / 0.8268 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5434, allocations: 1.938 kB / 0.8268 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5434, allocations: 2.938 kB / 0.8268 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.5435, allocations: 24.44 kB / 0.8268 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5435, allocations: 3.484 kB / 0.8268 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.5438, allocations: 62.89 kB / 0.8269 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/0.5439, allocations: 61.06 kB / 0.8269 GB, free: 12.01 MB / 0.6198 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.0002249/0.5441, allocations: 197 kB / 0.8271 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.5442, allocations: 46.3 kB / 0.8272 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.5442, allocations: 40.95 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5442, allocations: 2.047 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5442, allocations: 1.5 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5442, allocations: 1.219 kB / 0.8272 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.5456, allocations: 0.7198 MB / 0.8279 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5456, allocations: 3.984 kB / 0.8279 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.5457, allocations: 8.188 kB / 0.8279 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5457, allocations: 5.625 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.5457, allocations: 18.66 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.5457, allocations: 1.125 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5457, allocations: 0.6094 kB / 0.8279 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009331/0.5466, allocations: 479.2 kB / 0.8284 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.5469, allocations: 137 kB / 0.8285 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.5469, allocations: 10.27 kB / 0.8285 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.5471, allocations: 33.41 kB / 0.8286 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.5472, allocations: 7.188 kB / 0.8286 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/0.5473, allocations: 56.58 kB / 0.8286 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003464/0.5476, allocations: 297.6 kB / 0.8289 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5476, allocations: 0.5 kB / 0.8289 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003345/0.548, allocations: 69.03 kB / 0.829 GB, free: 11.02 MB / 0.6198 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.00131/0.5493, allocations: 1.023 MB / 0.83 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007699/0.55, allocations: 398.5 kB / 0.8304 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.55, allocations: 384 / 0.8304 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004962/0.5505, allocations: 116.6 kB / 0.8305 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.5508, allocations: 28.42 kB / 0.8305 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.5542, allocations: 2.801 MB / 0.8332 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.5545, allocations: 0.7751 MB / 0.834 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.83e-05/0.5545, allocations: 11.91 kB / 0.834 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.5546, allocations: 24.95 kB / 0.834 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of SimCode: time 1.303e-06/0.5546, allocations: 1.469 kB / 0.834 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.5784, allocations: 6.422 MB / 0.8403 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.809, allocations: 4.719 kB / 0.8403 GB, free: 4.891 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime_res.csv --start-time 0 --stop-time 1e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 40000 IDEAS_dev_IDEAS_Utilities_Time_Examples_CalendarTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.411837121937424] Failed to read output from testmodel.py, exit status != 0: 7.887967949965969 7.897431429 7.360772204 Calling exit ...