Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.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.0007877/0.0007877, 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.0008437/0.0008437, allocations: 209.7 kB / 22.24 MB, free: 3.59 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.9681/0.9681, allocations: 230.6 MB / 256 MB, free: 9.602 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.7941/0.7941, 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.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths",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.0008673/0.0008673, allocations: 65.38 kB / 0.7181 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5302, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002493/0.5327, allocations: 1.519 MB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.5339, allocations: 0.5333 MB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.513e-05/0.534, allocations: 0 / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.5342, allocations: 9.75 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.5343, allocations: 23.48 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.5353, allocations: 320.6 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.5358, allocations: 486.3 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.5359, allocations: 13.89 kB / 0.8206 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.5362, allocations: 276 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.5365, allocations: 129.1 kB / 0.821 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.5366, allocations: 27.25 kB / 0.821 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.086e-05/0.5366, allocations: 25.06 kB / 0.821 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.5367, allocations: 117.9 kB / 0.8211 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.5369, allocations: 154.2 kB / 0.8213 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.5375, allocations: 436.5 kB / 0.8217 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5375, allocations: 0 / 0.8217 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.956e-06/0.5375, allocations: 0 / 0.8217 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.5375, allocations: 1.281 kB / 0.8217 GB, free: 14.85 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.001407/0.5389, allocations: 0.8014 MB / 0.8225 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.539, allocations: 9.125 kB / 0.8225 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.539, allocations: 39.84 kB / 0.8225 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.5391, allocations: 52.22 kB / 0.8226 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.5395, allocations: 250.8 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.5395, allocations: 22.17 kB / 0.8228 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.5396, allocations: 29.09 kB / 0.8229 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.5402, allocations: 216.3 kB / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5402, allocations: 4.594 kB / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.5403, allocations: 1.641 kB / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5403, allocations: 1.625 kB / 0.8231 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.5407, allocations: 104.1 kB / 0.8232 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.541, allocations: 310.8 kB / 0.8235 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.5416, allocations: 165 kB / 0.8236 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.542, allocations: 107.6 kB / 0.8237 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.542, allocations: 6.594 kB / 0.8237 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006291/0.5427, allocations: 220.8 kB / 0.824 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.5427, allocations: 0 / 0.824 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001454/0.5441, allocations: 493.1 kB / 0.8244 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.5442, allocations: 61.23 kB / 0.8245 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.5445, allocations: 411.5 kB / 0.8249 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.5446, allocations: 39.67 kB / 0.8249 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.5447, allocations: 95.02 kB / 0.825 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.5447, allocations: 44.98 kB / 0.825 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.5448, allocations: 129.1 kB / 0.8252 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.5449, allocations: 321.5 kB / 0.8255 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.5452, allocations: 188.8 kB / 0.8257 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.5454, allocations: 248.6 kB / 0.8259 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.5457, allocations: 274.4 kB / 0.8262 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5457, allocations: 0 / 0.8262 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006202/0.5463, allocations: 0.548 MB / 0.8267 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.5464, allocations: 87.62 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5464, allocations: 2.219 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5464, allocations: 2.156 kB / 0.8268 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.5466, allocations: 28.39 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.5466, allocations: 4.609 kB / 0.8268 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.5469, allocations: 56.94 kB / 0.8269 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.5469, allocations: 61.73 kB / 0.8269 GB, free: 11.69 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002027/0.5471, allocations: 196.1 kB / 0.8271 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.5472, allocations: 41.14 kB / 0.8271 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/0.5472, allocations: 45.91 kB / 0.8272 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5472, allocations: 2.594 kB / 0.8272 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.5472, allocations: 4.5 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5472, allocations: 0.5156 kB / 0.8272 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.5486, allocations: 0.707 MB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.5486, allocations: 4.75 kB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.5486, allocations: 5.984 kB / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5486, allocations: 0 / 0.8279 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.5486, allocations: 23.73 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5486, allocations: 0 / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5486, allocations: 1.75 kB / 0.8279 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.5498, allocations: 483.3 kB / 0.8284 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.55, allocations: 137.2 kB / 0.8285 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.5501, allocations: 10.23 kB / 0.8285 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.5503, allocations: 36.42 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.5503, allocations: 8.562 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.652e-05/0.5504, allocations: 60.38 kB / 0.8286 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003363/0.5508, allocations: 294.7 kB / 0.8289 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5508, allocations: 4 kB / 0.8289 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003042/0.5511, allocations: 64.78 kB / 0.829 GB, free: 10.7 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.001182/0.5523, allocations: 1.029 MB / 0.83 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008017/0.5531, allocations: 474.3 kB / 0.8304 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5531, allocations: 0 / 0.8304 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.5534, allocations: 110.2 kB / 0.8305 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.5537, allocations: 32.27 kB / 0.8306 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.5568, allocations: 3.091 MB / 0.8336 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.557, allocations: 164.5 kB / 0.8337 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.304e-05/0.557, allocations: 16.53 kB / 0.8338 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.5571, allocations: 25.2 kB / 0.8338 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.5571, allocations: 0 / 0.8338 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.5822, allocations: 7.955 MB / 0.8415 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.771, allocations: 7 kB / 0.8416 GB, free: 3.953 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Validation_CalendarTimeMonths.fmu > IDEAS_dev_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.682656886987388] Failed to read output from testmodel.py, exit status != 0: 7.853618468157947 7.870899219 7.330787053 Calling exit ...