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.00109/0.00109, allocations: 73.88 kB / 20.65 MB, free: 3.848 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.001019/0.001019, allocations: 169 kB / 24.05 MB, free: 460 kB / 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 1.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.8568/0.8568, allocations: 154.9 MB / 415.9 MB, free: 256 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.302e-06/1.302e-06, allocations: 0 / 0.5219 GB, free: 1.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.29e-05, allocations: 4.281 kB / 0.5219 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.001942/0.001965, allocations: 1.381 MB / 0.5232 GB, free: 188 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.00208, allocations: 40.59 kB / 0.5233 GB, free: 148 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.002128, allocations: 3.938 kB / 0.5233 GB, free: 144 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.002288, allocations: 4.688 kB / 0.5233 GB, free: 140 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.826e-05/0.002386, allocations: 16.36 kB / 0.5233 GB, free: 124 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.505e-06/0.002389, allocations: 1.125 kB / 0.5233 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.002444, allocations: 15.92 kB / 0.5233 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.002482, allocations: 8.953 kB / 0.5233 GB, free: 100 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.002528, allocations: 11.98 kB / 0.5233 GB, free: 88 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.002578, allocations: 11.92 kB / 0.5233 GB, free: 76 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.002593, allocations: 1.531 kB / 0.5233 GB, free: 76 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.225e-05/0.002635, allocations: 15.94 kB / 0.5234 GB, free: 60 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.002674, allocations: 0 / 0.5234 GB, free: 60 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.314e-05/0.002687, allocations: 7.938 kB / 0.5234 GB, free: 52 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.005e-05/0.002767, allocations: 25 kB / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002769, allocations: 0 / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00277, allocations: 0 / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.002772, allocations: 0.6875 kB / 0.5234 GB, free: 28 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.0002636/0.003036, allocations: 360.5 kB / 0.5237 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.003067, allocations: 9.312 kB / 0.5237 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.003089, allocations: 4.938 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.003205, allocations: 129.3 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.003212, allocations: 5.094 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-06/0.003217, allocations: 384 / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.757e-05/0.003275, allocations: 35.06 kB / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.003281, allocations: 192 / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.003286, allocations: 1.062 kB / 0.5239 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.003308, allocations: 4.312 kB / 0.5239 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-06/0.003317, allocations: 8.781 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.14e-05/0.003399, allocations: 93.27 kB / 0.524 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.241e-05/0.003431, allocations: 29.31 kB / 0.524 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.003444, allocations: 7.688 kB / 0.524 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.003456, allocations: 3.984 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.003476, allocations: 37.45 kB / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.003477, allocations: 0 / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 8.623e-05/0.003563, allocations: 34.67 kB / 0.5241 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.003596, allocations: 51.41 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.003672, allocations: 169.9 kB / 0.5243 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.003681, allocations: 31.08 kB / 0.5244 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.003717, allocations: 134.9 kB / 0.5245 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.003737, allocations: 3.953 kB / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.003759, allocations: 20.11 kB / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004505/0.00421, allocations: 0.4883 MB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.004221, allocations: 1.5 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.004229, allocations: 4 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.004258, allocations: 15.62 kB / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004261, allocations: 0.5938 kB / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.652e-05/0.004317, allocations: 42.62 kB / 0.5251 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.00433, allocations: 4 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004334, allocations: 0.5312 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.004345, allocations: 0 / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.633e-05/0.004391, allocations: 4.688 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.004394, allocations: 0 / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.12e-05/0.004405, allocations: 0.625 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.004411, allocations: 4.688 kB / 0.5251 GB, free: 14.12 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 6.706e-05/0.004478, allocations: 156.6 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.004485, allocations: 9.016 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.529e-05/0.00456, allocations: 45.09 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004562, allocations: 6.781 kB / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.004564, allocations: 0 / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.004567, allocations: 4 kB / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.534e-05/0.004642, allocations: 97.14 kB / 0.5254 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.004643, allocations: 4 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.004654, allocations: 3.984 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.004655, allocations: 0 / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.004661, allocations: 0 / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.004662, allocations: 2.438 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.004664, allocations: 320 / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.761e-05/0.004721, allocations: 76.33 kB / 0.5255 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.004732, allocations: 3.953 kB / 0.5255 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.004742, allocations: 3.984 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-06/0.004746, allocations: 0 / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.004759, allocations: 1.438 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.004761, allocations: 4 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.004809, allocations: 131.2 kB / 0.5256 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004809, allocations: 0 / 0.5256 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001228/0.004932, allocations: 13.02 kB / 0.5256 GB, free: 13.52 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.0001855/0.005118, allocations: 119.1 kB / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.579e-05/0.005193, allocations: 7.688 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.005195, allocations: 4 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.005203, allocations: 7.688 kB / 0.5257 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.005324, allocations: 9.766 kB / 0.5257 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.005536, allocations: 113.9 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.967e-05/0.005566, allocations: 62.38 kB / 0.5259 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.571e-05/0.005582, allocations: 4 kB / 0.5259 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.005613, allocations: 66.2 kB / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.005613, allocations: 0 / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.001942/0.007555, allocations: 0.5432 MB / 0.5265 GB, free: 12.58 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.8324535111896694]