Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.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.0009181/0.0009181, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001207/0.001207, allocations: 169.7 kB / 23.27 MB, free: 1.219 MB / 18.57 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.9655/0.9655, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.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-535:34: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-535:42: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.7662/0.7662, allocations: 154.9 MB / 415.1 MB, free: 264 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.452e-05, allocations: 5.703 kB / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.001588/0.001602, allocations: 1.379 MB / 0.5225 GB, free: 148 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 9.92e-05/0.001701, allocations: 43.77 kB / 0.5225 GB, free: 104 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.001736, allocations: 2.531 kB / 0.5225 GB, free: 104 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.001883, allocations: 4.812 kB / 0.5225 GB, free: 100 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.062e-05/0.001973, allocations: 21.11 kB / 0.5225 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.755e-06/0.001976, allocations: 0 / 0.5225 GB, free: 80 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.461e-05/0.002021, allocations: 15.88 kB / 0.5226 GB, free: 64 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.487e-05/0.002056, allocations: 3.984 kB / 0.5226 GB, free: 60 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.886e-05/0.002094, allocations: 8 kB / 0.5226 GB, free: 52 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.002137, allocations: 8.547 kB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.002153, allocations: 0 / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.475e-05/0.002188, allocations: 20.44 kB / 0.5226 GB, free: 24 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.002216, allocations: 0.9375 kB / 0.5226 GB, free: 24 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.084e-05/0.002227, allocations: 4 kB / 0.5226 GB, free: 20 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.123e-05/0.002308, allocations: 27.95 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.644e-06/0.00231, allocations: 1.531 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.01e-07/0.00231, allocations: 3.938 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.002313, allocations: 0 / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002367/0.00255, allocations: 360.5 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.528e-05/0.002575, allocations: 8.969 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.002597, allocations: 8.922 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.002701, allocations: 126.7 kB / 0.5231 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.002708, allocations: 384 / 0.5231 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-06/0.002713, allocations: 384 / 0.5231 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.153e-05/0.002764, allocations: 34.25 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.002771, allocations: 5.328 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-06/0.002775, allocations: 384 / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.002798, allocations: 4.375 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-06/0.002807, allocations: 8.625 kB / 0.5232 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.075e-05/0.002898, allocations: 102.5 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.582e-05/0.002924, allocations: 27.09 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.166e-05/0.002935, allocations: 7.688 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.002949, allocations: 1.062 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.002967, allocations: 41.44 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.002968, allocations: 3.938 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 7.782e-05/0.003045, allocations: 34.17 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.00307, allocations: 53.38 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.003139, allocations: 169.9 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.003146, allocations: 25.7 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.003181, allocations: 134.9 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.003197, allocations: 3.953 kB / 0.5237 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.003217, allocations: 20.83 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.003323, allocations: 0.4922 MB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/0.003328, allocations: 0 / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.003332, allocations: 2.938 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.66e-05/0.003349, allocations: 11.69 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00335, allocations: 0 / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.644e-05/0.003387, allocations: 41.64 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.003396, allocations: 7.984 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.0034, allocations: 0 / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.003411, allocations: 0 / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.098e-05/0.003442, allocations: 5.5 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-06/0.003444, allocations: 0 / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-06/0.003451, allocations: 0 / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.003455, allocations: 3.938 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.138e-05/0.003507, allocations: 153.1 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.003513, allocations: 8.984 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.003561, allocations: 37.16 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.003562, allocations: 1.125 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.003564, allocations: 7.938 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.003565, allocations: 0 / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.164e-05/0.003617, allocations: 105.8 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.003618, allocations: 4 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-06/0.003622, allocations: 0.5 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.003624, allocations: 6.266 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-06/0.003627, allocations: 0 / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.003627, allocations: 320 / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.003628, allocations: 0 / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.341e-05/0.003671, allocations: 72.39 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.003678, allocations: 3.953 kB / 0.5247 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-06/0.003684, allocations: 6.375 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.36e-06/0.003689, allocations: 3.984 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-06/0.003698, allocations: 4 kB / 0.5247 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.003701, allocations: 4 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.447e-05/0.003735, allocations: 127.2 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.003735, allocations: 0 / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000116/0.003851, allocations: 17.89 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001227/0.003974, allocations: 117.8 kB / 0.525 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.142e-05/0.004015, allocations: 7.688 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.004016, allocations: 4.938 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.613e-06/0.004023, allocations: 7.688 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.245e-05/0.004115, allocations: 11.19 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001689/0.004284, allocations: 110.3 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.672e-05/0.004311, allocations: 59.34 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.696e-05/0.004328, allocations: 4 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.004357, allocations: 66.2 kB / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.004357, allocations: 0 / 0.5252 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.001715/0.006072, allocations: 0.5363 MB / 0.5257 GB, free: 12.53 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6367720309644938]