Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.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.000952/0.000952, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 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.001498/0.001498, allocations: 168.9 kB / 23.02 MB, free: 1.574 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.9639/0.9639, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.7978/0.7978, allocations: 154.9 MB / 414.8 MB, free: 396 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.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.22e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.863 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002094/0.002117, allocations: 1.542 MB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003263, allocations: 1.249 MB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.003317, allocations: 0 / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.003531, allocations: 19.84 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.003764, allocations: 48.27 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.003907, allocations: 54.17 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.004061, allocations: 147.5 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.004185, allocations: 41.2 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.004281, allocations: 104.6 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.004398, allocations: 47.81 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.00443, allocations: 13.12 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.804e-05/0.004488, allocations: 24 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.004548, allocations: 51.81 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.004597, allocations: 46.67 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.004791, allocations: 187.3 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004792, allocations: 0 / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004793, allocations: 0 / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.004797, allocations: 0 / 0.5241 GB, free: 14.32 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000606/0.005403, allocations: 0.5191 MB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.005443, allocations: 8.031 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.095e-05/0.005524, allocations: 21.44 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.005804, allocations: 206.1 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.005962, allocations: 214.2 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.005993, allocations: 12.36 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.006251, allocations: 197.8 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.006259, allocations: 192 / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.00628, allocations: 5.094 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.006313, allocations: 12 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.037e-05/0.006363, allocations: 15.98 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.007051, allocations: 422.4 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.08e-05/0.007112, allocations: 35.05 kB / 0.5257 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.007144, allocations: 19.62 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.007169, allocations: 4.625 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.007229, allocations: 41.38 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.00723, allocations: 1.812 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001993/0.007429, allocations: 85.91 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.007456, allocations: 51.41 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.007615, allocations: 259.5 kB / 0.5262 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.007636, allocations: 33.7 kB / 0.5262 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.007708, allocations: 168.4 kB / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.007729, allocations: 31.88 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.007766, allocations: 39.36 kB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.007882, allocations: 0.5079 MB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.007902, allocations: 5.281 kB / 0.5269 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.007973, allocations: 120.2 kB / 0.5271 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.008077, allocations: 149.4 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.008079, allocations: 0 / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001727/0.008252, allocations: 128 kB / 0.5273 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.008266, allocations: 8 kB / 0.5273 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.008271, allocations: 0 / 0.5273 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.008285, allocations: 7.984 kB / 0.5273 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.008358, allocations: 20 kB / 0.5274 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.008369, allocations: 17.58 kB / 0.5274 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.008427, allocations: 15.89 kB / 0.5274 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.008437, allocations: 8 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 7.351e-05/0.008511, allocations: 169.5 kB / 0.5276 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.008543, allocations: 19.89 kB / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.008666, allocations: 106.9 kB / 0.5277 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.008668, allocations: 4.625 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.008671, allocations: 2.219 kB / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.008674, allocations: 0 / 0.5277 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.008804, allocations: 176.5 kB / 0.5279 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008806, allocations: 4 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.008831, allocations: 8 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.008834, allocations: 4 kB / 0.5279 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.008841, allocations: 4.844 kB / 0.5279 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008842, allocations: 0 / 0.5279 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008843, allocations: 0 / 0.5279 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.008964, allocations: 232.4 kB / 0.5281 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.008976, allocations: 12.66 kB / 0.5281 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.008987, allocations: 0 / 0.5281 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/0.00908, allocations: 14.8 kB / 0.5281 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.009099, allocations: 11.98 kB / 0.5281 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.009112, allocations: 7.984 kB / 0.5281 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.452e-05/0.009197, allocations: 185.4 kB / 0.5283 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009197, allocations: 0 / 0.5283 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001848/0.009382, allocations: 31.94 kB / 0.5283 GB, free: 9.578 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 (8): * Single equations (assignments): 8 * 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.0001699/0.009552, allocations: 122.8 kB / 0.5285 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.009654, allocations: 56.73 kB / 0.5285 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.009656, allocations: 0 / 0.5285 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.361e-05/0.009679, allocations: 32.75 kB / 0.5285 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.009887, allocations: 35.91 kB / 0.5286 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.01023, allocations: 263.6 kB / 0.5288 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01027, allocations: 80.05 kB / 0.5289 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.964e-05/0.01034, allocations: 48.81 kB / 0.529 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.01037, allocations: 19.75 kB / 0.529 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.01037, allocations: 0 / 0.529 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of Templates: time 0.004156/0.01453, allocations: 2.726 MB / 0.5316 GB, free: 6.305 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.929710787255317]