Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001462/0.001462, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001805/0.001805, allocations: 218.2 kB / 22.25 MB, free: 4.859 MB / 14.72 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 1.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 1.295/1.295, allocations: 203.8 MB / 0.5041 GB, free: 4.629 MB / 414.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [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.002303/0.002303, allocations: 63.91 kB / 0.7187 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6107/0.613, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003187/0.6162, allocations: 1.724 MB / 0.82 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.6177, allocations: 0.6086 MB / 0.8206 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.6178, allocations: 0 / 0.8206 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.6179, allocations: 12.09 kB / 0.8206 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.6181, allocations: 36.8 kB / 0.8206 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.6191, allocations: 372.4 kB / 0.821 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0007818/0.6199, allocations: 0.6027 MB / 0.8216 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.62, allocations: 21.02 kB / 0.8216 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.6206, allocations: 312.1 kB / 0.8219 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.6209, allocations: 152.4 kB / 0.822 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.621, allocations: 40.12 kB / 0.8221 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.6212, allocations: 42.59 kB / 0.8221 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.6213, allocations: 119.9 kB / 0.8222 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.6216, allocations: 182.1 kB / 0.8224 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007528/0.6223, allocations: 0.6005 MB / 0.823 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6223, allocations: 4.844 kB / 0.823 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6223, allocations: 0 / 0.823 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.6223, allocations: 1.969 kB / 0.823 GB, free: 26.3 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001353/0.6237, allocations: 0.839 MB / 0.8238 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.6237, allocations: 13.09 kB / 0.8238 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.6239, allocations: 56.44 kB / 0.8239 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.6243, allocations: 277.1 kB / 0.8241 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.6243, allocations: 27.41 kB / 0.8242 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.6244, allocations: 26.92 kB / 0.8242 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.6256, allocations: 234.8 kB / 0.8244 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.6256, allocations: 1.484 kB / 0.8244 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.6257, allocations: 10.03 kB / 0.8244 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6257, allocations: 4.844 kB / 0.8244 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.6266, allocations: 121.4 kB / 0.8245 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.6281, allocations: 0.5364 MB / 0.8251 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.6293, allocations: 171.9 kB / 0.8252 GB, free: 24.87 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.6302, allocations: 106.5 kB / 0.8253 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.6302, allocations: 3.312 kB / 0.8253 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.6314, allocations: 237.7 kB / 0.8256 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 2.755e-06/0.6314, allocations: 0 / 0.8256 GB, free: 24.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.002955/0.6343, allocations: 0.491 MB / 0.826 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.6344, allocations: 57.33 kB / 0.8261 GB, free: 24.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.6349, allocations: 444.6 kB / 0.8265 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/0.635, allocations: 40.86 kB / 0.8266 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.6351, allocations: 110.1 kB / 0.8267 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.6351, allocations: 42.92 kB / 0.8267 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.6354, allocations: 137.7 kB / 0.8268 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.6354, allocations: 326.5 kB / 0.8271 GB, free: 23.81 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.6358, allocations: 219.6 kB / 0.8274 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.6362, allocations: 267.2 kB / 0.8276 GB, free: 23.51 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.6366, allocations: 297.5 kB / 0.8279 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6366, allocations: 0 / 0.8279 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001145/0.6378, allocations: 0.5935 MB / 0.8285 GB, free: 22.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.6379, allocations: 88.59 kB / 0.8286 GB, free: 22.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6379, allocations: 6.031 kB / 0.8286 GB, free: 22.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.6379, allocations: 2.75 kB / 0.8286 GB, free: 22.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.6381, allocations: 28.45 kB / 0.8286 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.6381, allocations: 2.75 kB / 0.8286 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.6388, allocations: 62.86 kB / 0.8287 GB, free: 22.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.6389, allocations: 61.83 kB / 0.8287 GB, free: 22.87 MB / 0.6387 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.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.0003918/0.6393, allocations: 226.4 kB / 0.8289 GB, free: 22.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.6394, allocations: 38.55 kB / 0.829 GB, free: 22.69 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.6395, allocations: 42.5 kB / 0.829 GB, free: 22.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.6395, allocations: 2.797 kB / 0.829 GB, free: 22.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6395, allocations: 0 / 0.829 GB, free: 22.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.6395, allocations: 4.641 kB / 0.829 GB, free: 22.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.6421, allocations: 0.7137 MB / 0.8297 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.6421, allocations: 0 / 0.8297 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.6421, allocations: 9.766 kB / 0.8297 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.6421, allocations: 1.5 kB / 0.8297 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/0.6422, allocations: 18.45 kB / 0.8297 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.6422, allocations: 1.438 kB / 0.8297 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6422, allocations: 0 / 0.8297 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.6442, allocations: 0.4888 MB / 0.8302 GB, free: 22.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.6445, allocations: 176.6 kB / 0.8304 GB, free: 22 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.6446, allocations: 16.92 kB / 0.8304 GB, free: 22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.6451, allocations: 29.25 kB / 0.8304 GB, free: 22 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.6452, allocations: 15.8 kB / 0.8304 GB, free: 21.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/0.6453, allocations: 59.66 kB / 0.8305 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003837/0.6457, allocations: 323.9 kB / 0.8308 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6457, allocations: 0 / 0.8308 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004891/0.6462, allocations: 72.27 kB / 0.8309 GB, free: 21.83 MB / 0.6387 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 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.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.0001832/0.6464, allocations: 125 kB / 0.831 GB, free: 21.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.6478, allocations: 0.5143 MB / 0.8315 GB, free: 21.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6478, allocations: 0 / 0.8315 GB, free: 21.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008253/0.6486, allocations: 115.1 kB / 0.8316 GB, free: 21.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.6491, allocations: 34.08 kB / 0.8316 GB, free: 21.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.6509, allocations: 0.5903 MB / 0.8322 GB, free: 21.05 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.6512, allocations: 191.8 kB / 0.8324 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.418e-05/0.6512, allocations: 14.02 kB / 0.8324 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.6513, allocations: 24.08 kB / 0.8324 GB, free: 20.93 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.6513, allocations: 0 / 0.8324 GB, free: 20.93 MB / 0.6387 GB Notification: Performance of Templates: time 0.01507/0.6664, allocations: 6.579 MB / 0.8389 GB, free: 19.67 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.934469308704138] Failed to read output from testmodel.py, exit status != 0: 0.6752218883484602 0.687826447 0.062784501 Calling exit ...