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.0007838/0.0007838, 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.0008132/0.0008132, allocations: 219 kB / 22.26 MB, free: 3.703 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.9686/0.9686, allocations: 230.6 MB / 256 MB, free: 9.812 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.82/0.82, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0009818/0.0009818, allocations: 66.59 kB / 0.7182 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5605, allocations: 102 MB / 0.8178 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.002107/0.5626, allocations: 1.545 MB / 0.8193 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.5638, allocations: 0.5513 MB / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.5639, allocations: 0 / 0.8199 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.564, allocations: 13.03 kB / 0.8199 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.5642, allocations: 29.45 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000907/0.5651, allocations: 309.4 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005202/0.5656, allocations: 494.5 kB / 0.8207 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.5656, allocations: 7.953 kB / 0.8207 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.566, allocations: 273.8 kB / 0.821 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.5662, allocations: 155.2 kB / 0.8211 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.193e-05/0.5663, allocations: 25.31 kB / 0.8211 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.805e-05/0.5664, allocations: 26.81 kB / 0.8212 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.5665, allocations: 121.5 kB / 0.8213 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.5667, allocations: 181.2 kB / 0.8214 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.5671, allocations: 422.8 kB / 0.8218 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.5671, allocations: 1.125 kB / 0.8218 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5671, allocations: 0 / 0.8218 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.5671, allocations: 0 / 0.8218 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.001131/0.5683, allocations: 0.8079 MB / 0.8226 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.5683, allocations: 9.531 kB / 0.8226 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.022e-05/0.5684, allocations: 39.89 kB / 0.8227 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.187e-05/0.5685, allocations: 51.12 kB / 0.8227 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.5688, allocations: 258.6 kB / 0.823 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.5689, allocations: 14.84 kB / 0.823 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.5689, allocations: 28.44 kB / 0.823 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/0.5695, allocations: 216.8 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5695, allocations: 3.938 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.5695, allocations: 2.469 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5695, allocations: 1.125 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.5699, allocations: 104.7 kB / 0.8233 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.5703, allocations: 372 kB / 0.8237 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.5709, allocations: 163.6 kB / 0.8238 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.5713, allocations: 103.2 kB / 0.8239 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.5713, allocations: 3.172 kB / 0.8239 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.5718, allocations: 226.5 kB / 0.8242 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.896e-06/0.5718, allocations: 0 / 0.8242 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.00131/0.5732, allocations: 489.8 kB / 0.8246 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.5732, allocations: 65.86 kB / 0.8247 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.5736, allocations: 411.4 kB / 0.8251 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.5736, allocations: 40.97 kB / 0.8251 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.5737, allocations: 94.59 kB / 0.8252 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.5737, allocations: 37.47 kB / 0.8252 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.5739, allocations: 123.3 kB / 0.8254 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.574, allocations: 329.2 kB / 0.8257 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.5742, allocations: 117.5 kB / 0.8258 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.5744, allocations: 173.6 kB / 0.826 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.5746, allocations: 278.7 kB / 0.8262 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5746, allocations: 5.188 kB / 0.8262 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00075/0.5754, allocations: 487.6 kB / 0.8267 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/0.5755, allocations: 92.2 kB / 0.8268 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5755, allocations: 6.594 kB / 0.8268 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.5755, allocations: 2.344 kB / 0.8268 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.5756, allocations: 24.09 kB / 0.8268 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.5757, allocations: 3.281 kB / 0.8268 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.576, allocations: 63.06 kB / 0.8269 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5761, allocations: 62 kB / 0.8269 GB, free: 11.85 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.0002521/0.5763, allocations: 193.9 kB / 0.8271 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.5764, allocations: 42.08 kB / 0.8272 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.044e-05/0.5764, allocations: 40.86 kB / 0.8272 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5764, allocations: 3.359 kB / 0.8272 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5764, allocations: 0 / 0.8272 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5764, allocations: 0.6562 kB / 0.8272 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.5778, allocations: 0.7155 MB / 0.8279 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5778, allocations: 4.969 kB / 0.8279 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.5778, allocations: 9.609 kB / 0.8279 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.5778, allocations: 0 / 0.8279 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.5779, allocations: 19.91 kB / 0.8279 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5779, allocations: 3.938 kB / 0.8279 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5779, allocations: 1.375 kB / 0.8279 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/0.5788, allocations: 475.1 kB / 0.8284 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.579, allocations: 140.3 kB / 0.8285 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.5791, allocations: 10.84 kB / 0.8285 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.5793, allocations: 32.81 kB / 0.8286 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.5794, allocations: 12.09 kB / 0.8286 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/0.5795, allocations: 59.64 kB / 0.8286 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003881/0.5799, allocations: 294.7 kB / 0.8289 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5799, allocations: 0 / 0.8289 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003516/0.5802, allocations: 69.16 kB / 0.829 GB, free: 10.87 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.001262/0.5815, allocations: 1.019 MB / 0.83 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000943/0.5824, allocations: 411.8 kB / 0.8304 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5824, allocations: 0 / 0.8304 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.5828, allocations: 105.9 kB / 0.8305 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.5831, allocations: 33.44 kB / 0.8305 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.5863, allocations: 2.796 MB / 0.8332 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.5866, allocations: 0.7741 MB / 0.834 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.334e-05/0.5867, allocations: 15.81 kB / 0.834 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.5868, allocations: 26.12 kB / 0.834 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of SimCode: time 7.81e-07/0.5868, allocations: 0 / 0.834 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.611, allocations: 6.309 MB / 0.8402 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/7.898, allocations: 11.66 kB / 0.8402 GB, free: 4.867 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.839324387023225] Failed to read output from testmodel.py, exit status != 0: 7.978011911036447 7.9964074 7.425820112 Calling exit ...