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.001333/0.001333, allocations: 92.22 kB / 19.65 MB, free: 276 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.001797/0.001797, allocations: 173 kB / 23.02 MB, free: 1.547 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.9188/0.9188, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.8085/0.8085, allocations: 154.9 MB / 414.8 MB, free: 404 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.783e-06/1.783e-06, allocations: 0 / 0.5207 GB, free: 1.816 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.582e-05, allocations: 4.422 kB / 0.5207 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002394/0.00242, allocations: 1.398 MB / 0.522 GB, free: 432 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001374/0.002557, allocations: 41.06 kB / 0.5221 GB, free: 392 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.002597, allocations: 0 / 0.5221 GB, free: 392 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.002761, allocations: 11.91 kB / 0.5221 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.002871, allocations: 10.45 kB / 0.5221 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.466e-06/0.002875, allocations: 3.938 kB / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.444e-05/0.002939, allocations: 19.92 kB / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.002976, allocations: 0.5 kB / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.00302, allocations: 8.516 kB / 0.5221 GB, free: 340 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.003075, allocations: 11.94 kB / 0.5221 GB, free: 328 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.004132, allocations: 1.875 kB / 0.5221 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.654e-05/0.004189, allocations: 19.91 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.004232, allocations: 4 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.00425, allocations: 4 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.626e-05/0.004347, allocations: 19.92 kB / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004348, allocations: 1.562 kB / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00435, allocations: 0 / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004353, allocations: 0 / 0.5222 GB, free: 280 kB / 490.7 MB 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.0003738/0.004727, allocations: 360.5 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.00476, allocations: 9.5 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.004795, allocations: 8.922 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.004923, allocations: 129.3 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.004931, allocations: 384 / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.004938, allocations: 1.344 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.481e-05/0.005003, allocations: 34.2 kB / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.005008, allocations: 1.156 kB / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.005015, allocations: 384 / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.005046, allocations: 384 / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.005083, allocations: 8.938 kB / 0.5227 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.005191, allocations: 116.7 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.767e-05/0.005229, allocations: 23.56 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.005247, allocations: 24.66 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.005261, allocations: 0 / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.005281, allocations: 37.38 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.005282, allocations: 1.125 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.000104/0.005386, allocations: 37.69 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.005412, allocations: 51.97 kB / 0.523 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.005494, allocations: 177.8 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.005502, allocations: 27.42 kB / 0.5232 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.005536, allocations: 130.9 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.005557, allocations: 7.953 kB / 0.5233 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.005579, allocations: 15.38 kB / 0.5233 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.005683, allocations: 0.4902 MB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-06/0.005689, allocations: 7.938 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-06/0.005693, allocations: 0 / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.988e-05/0.005713, allocations: 11.69 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005714, allocations: 1.688 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.858e-05/0.005753, allocations: 33.7 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.005764, allocations: 8 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.005768, allocations: 0 / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.005779, allocations: 0.75 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.204e-05/0.005831, allocations: 7.984 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.005836, allocations: 1.406 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.005846, allocations: 11.88 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.005851, allocations: 0 / 0.5239 GB, free: 14.32 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.443e-05/0.005905, allocations: 153.6 kB / 0.524 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.005913, allocations: 7.953 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.316e-05/0.005986, allocations: 42.09 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.005988, allocations: 0 / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.00599, allocations: 0 / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.005994, allocations: 7.188 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.899e-05/0.006053, allocations: 112.6 kB / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006054, allocations: 4 kB / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-06/0.006064, allocations: 3.984 kB / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006065, allocations: 0 / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.00607, allocations: 0 / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006071, allocations: 0 / 0.5242 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006072, allocations: 3.938 kB / 0.5242 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.951e-05/0.006122, allocations: 83.17 kB / 0.5243 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.006131, allocations: 7.938 kB / 0.5243 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.006139, allocations: 0 / 0.5243 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-06/0.006144, allocations: 0 / 0.5243 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.006156, allocations: 0 / 0.5243 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.006159, allocations: 4 kB / 0.5243 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.006197, allocations: 135.2 kB / 0.5244 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006197, allocations: 0 / 0.5244 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001177/0.006314, allocations: 9.438 kB / 0.5245 GB, free: 13.7 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.0001542/0.006468, allocations: 108 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.029e-05/0.006529, allocations: 11.69 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.006531, allocations: 5.219 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-06/0.006536, allocations: 7.688 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.006639, allocations: 12.58 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.006853, allocations: 111.1 kB / 0.5247 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.006885, allocations: 51.36 kB / 0.5247 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.006905, allocations: 4.5 kB / 0.5247 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.006924, allocations: 14.67 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.006924, allocations: 4 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of Templates: time 0.003427/0.01035, allocations: 0.5314 MB / 0.5253 GB, free: 12.83 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 & ./IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.783026450779289]