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.0009063/0.0009063, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001045/0.001045, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9239/0.9239, allocations: 230.6 MB / 256 MB, free: 9.598 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.7483/0.7483, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.001031/0.001031, allocations: 66.8 kB / 0.7181 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.464, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001785/0.4658, allocations: 1.523 MB / 0.8192 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.4667, allocations: 0.5312 MB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.4668, allocations: 0 / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.138e-05/0.4668, allocations: 10.5 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.467, allocations: 25.44 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.4676, allocations: 315.7 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.4679, allocations: 486.6 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.4679, allocations: 5.344 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.4682, allocations: 280.8 kB / 0.8208 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.4684, allocations: 141.2 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.4684, allocations: 26.91 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.4685, allocations: 25 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.4686, allocations: 114.5 kB / 0.8211 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.4687, allocations: 162.2 kB / 0.8213 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.4691, allocations: 429.2 kB / 0.8217 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4691, allocations: 0 / 0.8217 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4691, allocations: 0 / 0.8217 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4691, allocations: 1.562 kB / 0.8217 GB, free: 14.83 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.001162/0.4702, allocations: 0.7972 MB / 0.8225 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4703, allocations: 10.58 kB / 0.8225 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.4703, allocations: 43.8 kB / 0.8225 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.4704, allocations: 49.83 kB / 0.8226 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.4707, allocations: 256.7 kB / 0.8228 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.4707, allocations: 17.36 kB / 0.8228 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.4707, allocations: 25.22 kB / 0.8229 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007074/0.4714, allocations: 219.8 kB / 0.8231 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4715, allocations: 3.938 kB / 0.8231 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.4715, allocations: 6.406 kB / 0.8231 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4715, allocations: 2.5 kB / 0.8231 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/0.4721, allocations: 96.7 kB / 0.8232 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.4725, allocations: 313.5 kB / 0.8235 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.4733, allocations: 166.1 kB / 0.8236 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/0.4739, allocations: 102.5 kB / 0.8237 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.4739, allocations: 2.922 kB / 0.8237 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007686/0.4747, allocations: 230.9 kB / 0.8239 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.4747, allocations: 0 / 0.8239 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0021/0.4768, allocations: 486 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.4768, allocations: 62.5 kB / 0.8245 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.4773, allocations: 407.1 kB / 0.8249 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.4773, allocations: 47.44 kB / 0.8249 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.4774, allocations: 92.11 kB / 0.825 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.4774, allocations: 41.44 kB / 0.825 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.4776, allocations: 127.7 kB / 0.8252 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4778, allocations: 325 kB / 0.8255 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.4781, allocations: 193.3 kB / 0.8256 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.4785, allocations: 244.9 kB / 0.8259 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.4788, allocations: 274.6 kB / 0.8261 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4789, allocations: 0 / 0.8261 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009052/0.4798, allocations: 0.5493 MB / 0.8267 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.4798, allocations: 84.33 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4798, allocations: 2.062 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4799, allocations: 6.75 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.48, allocations: 26.78 kB / 0.8268 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.48, allocations: 4.062 kB / 0.8268 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.4804, allocations: 63.23 kB / 0.8269 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/0.4805, allocations: 61.22 kB / 0.8269 GB, free: 11.67 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.0002348/0.4807, allocations: 197.9 kB / 0.8271 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.4808, allocations: 41.69 kB / 0.8271 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.4809, allocations: 41.91 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4809, allocations: 5.547 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4809, allocations: 0 / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4809, allocations: 2.031 kB / 0.8272 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.483, allocations: 0.7083 MB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.483, allocations: 1.125 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.483, allocations: 12.81 kB / 0.8279 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.483, allocations: 1.312 kB / 0.8279 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.483, allocations: 18.36 kB / 0.8279 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.483, allocations: 1.062 kB / 0.8279 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.483, allocations: 4.75 kB / 0.8279 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.4843, allocations: 477.6 kB / 0.8284 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.4846, allocations: 137.1 kB / 0.8285 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.4846, allocations: 15.06 kB / 0.8285 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.4849, allocations: 35.47 kB / 0.8286 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.4849, allocations: 8.234 kB / 0.8286 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.485, allocations: 60.61 kB / 0.8286 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003189/0.4853, allocations: 294.7 kB / 0.8289 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.4853, allocations: 0 / 0.8289 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002545/0.4856, allocations: 64.88 kB / 0.829 GB, free: 10.69 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.001254/0.4868, allocations: 1.032 MB / 0.83 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008915/0.4877, allocations: 467.1 kB / 0.8304 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.4877, allocations: 5.219 kB / 0.8304 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.4882, allocations: 108.7 kB / 0.8305 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.4885, allocations: 26.59 kB / 0.8306 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.4922, allocations: 3.096 MB / 0.8336 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.4924, allocations: 176.4 kB / 0.8337 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.414e-05/0.4924, allocations: 11.72 kB / 0.8338 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.4925, allocations: 21.88 kB / 0.8338 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.4925, allocations: 0 / 0.8338 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.5154, allocations: 8.064 MB / 0.8417 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/8.072, allocations: 1.25 kB / 0.8417 GB, free: 3.809 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.48218208597973] Failed to read output from testmodel.py, exit status != 0: 8.15035078022629 8.166905722 7.694743611 Calling exit ...