Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.000993/0.000993, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.06 MB, free: 452 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.02/1.02, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.8032/0.8032, allocations: 154.9 MB / 415.9 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.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0.6562 kB / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.252e-05, allocations: 4.25 kB / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002566/0.002599, allocations: 1.406 MB / 0.5232 GB, free: 124 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.002741, allocations: 42.28 kB / 0.5233 GB, free: 84 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.002795, allocations: 0 / 0.5233 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.002986, allocations: 11.88 kB / 0.5233 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.003106, allocations: 21.55 kB / 0.5233 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.003109, allocations: 0.9375 kB / 0.5233 GB, free: 52 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.003186, allocations: 21.56 kB / 0.5233 GB, free: 32 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.003232, allocations: 1.156 kB / 0.5233 GB, free: 32 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.003279, allocations: 7.938 kB / 0.5233 GB, free: 24 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.003328, allocations: 11.98 kB / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.003344, allocations: 5.406 kB / 0.5234 GB, free: 8 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.554e-05/0.003399, allocations: 11.98 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.003438, allocations: 0 / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.003456, allocations: 7.938 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.003581, allocations: 28.72 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003583, allocations: 0 / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.51e-07/0.003584, allocations: 0 / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003588, allocations: 1.281 kB / 0.5234 GB, free: 15.96 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.0003498/0.003938, allocations: 364.5 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.003981, allocations: 12.03 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.00402, allocations: 2.281 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.004172, allocations: 141.2 kB / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.004183, allocations: 384 / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-06/0.004189, allocations: 384 / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.111e-05/0.00427, allocations: 27.05 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.004279, allocations: 1.938 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.004287, allocations: 4.375 kB / 0.5239 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.004319, allocations: 384 / 0.5239 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.014e-05/0.004329, allocations: 3.938 kB / 0.5239 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.004447, allocations: 105.2 kB / 0.524 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.817e-05/0.004495, allocations: 33.25 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.004512, allocations: 11.67 kB / 0.5241 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.004532, allocations: 0 / 0.5241 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.004563, allocations: 33.39 kB / 0.5241 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.004564, allocations: 0 / 0.5241 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001203/0.004685, allocations: 39.17 kB / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.004721, allocations: 55.34 kB / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.004821, allocations: 169.9 kB / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.00483, allocations: 26.67 kB / 0.5244 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.004876, allocations: 130.9 kB / 0.5245 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.004901, allocations: 11.95 kB / 0.5245 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.004926, allocations: 20.34 kB / 0.5245 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.005051, allocations: 0.4883 MB / 0.525 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.005061, allocations: 4.938 kB / 0.525 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.005067, allocations: 0 / 0.525 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.00509, allocations: 16.61 kB / 0.525 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005091, allocations: 0 / 0.525 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.478e-05/0.005136, allocations: 30.2 kB / 0.5251 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.005149, allocations: 12.62 kB / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.005155, allocations: 3.938 kB / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.005164, allocations: 1.219 kB / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.005217, allocations: 0 / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.00522, allocations: 0 / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.005234, allocations: 0.5938 kB / 0.5251 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.00524, allocations: 7.938 kB / 0.5251 GB, free: 14.04 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.674e-05/0.005307, allocations: 154.4 kB / 0.5252 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.005315, allocations: 3.953 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.068e-05/0.005385, allocations: 45.16 kB / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.005388, allocations: 1.719 kB / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.00539, allocations: 0 / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.005393, allocations: 0 / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.994e-05/0.005463, allocations: 101.2 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005464, allocations: 0 / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.005476, allocations: 6.875 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.005478, allocations: 0 / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.005482, allocations: 0 / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.005482, allocations: 4.25 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005483, allocations: 0 / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.719e-05/0.005551, allocations: 80.36 kB / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.005563, allocations: 7.953 kB / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.00557, allocations: 0.6875 kB / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.87e-06/0.005575, allocations: 0 / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.005585, allocations: 1.281 kB / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.005587, allocations: 0 / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.005631, allocations: 135.2 kB / 0.5256 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005631, allocations: 0 / 0.5256 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000126/0.005757, allocations: 10.62 kB / 0.5256 GB, free: 13.45 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.0001825/0.00594, allocations: 117.4 kB / 0.5257 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.006001, allocations: 14.38 kB / 0.5258 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.006003, allocations: 4 kB / 0.5258 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.655e-06/0.00601, allocations: 7.688 kB / 0.5258 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.006118, allocations: 15.88 kB / 0.5258 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.006331, allocations: 106.3 kB / 0.5259 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.869e-05/0.00636, allocations: 56.33 kB / 0.5259 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.795e-05/0.006378, allocations: 11.92 kB / 0.5259 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.006413, allocations: 67.45 kB / 0.526 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of SimCode: time 7.52e-07/0.006414, allocations: 0 / 0.526 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.002189/0.008603, allocations: 0.5663 MB / 0.5266 GB, free: 12.47 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.851894505787641]