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.0008461/0.0008461, allocations: 92.22 kB / 19.65 MB, free: 280 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.001049/0.001049, allocations: 173 kB / 23.03 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.9401/0.9401, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7878/0.7878, allocations: 154.9 MB / 414.8 MB, free: 420 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 / 0.5207 GB, free: 1.863 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.363e-05, allocations: 11.41 kB / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003203/0.003237, allocations: 1.397 MB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.003374, allocations: 45.33 kB / 0.5221 GB, free: 432 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.003409, allocations: 0 / 0.5221 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.003555, allocations: 15.84 kB / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.073e-05/0.003645, allocations: 13.58 kB / 0.5221 GB, free: 404 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.374e-06/0.003648, allocations: 0.9375 kB / 0.5221 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.788e-05/0.003706, allocations: 21.45 kB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.964e-05/0.003735, allocations: 0 / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.003784, allocations: 17.33 kB / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.003823, allocations: 7.984 kB / 0.5221 GB, free: 360 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.003841, allocations: 4 kB / 0.5222 GB, free: 356 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.751e-05/0.003879, allocations: 15.94 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.003912, allocations: 13.06 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.362e-05/0.003926, allocations: 0 / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.233e-05/0.004018, allocations: 19.98 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.004022, allocations: 0.6875 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.004023, allocations: 0 / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.004028, allocations: 1.281 kB / 0.5222 GB, free: 308 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.0003009/0.004329, allocations: 368.4 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.004361, allocations: 12.03 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.004396, allocations: 2.281 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.004555, allocations: 145.2 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.004564, allocations: 384 / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.004571, allocations: 384 / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.938e-05/0.00464, allocations: 26.95 kB / 0.5227 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.004648, allocations: 6.031 kB / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.004655, allocations: 384 / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.004681, allocations: 384 / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.117e-05/0.004692, allocations: 3.938 kB / 0.5227 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.004873, allocations: 116.6 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.594e-05/0.004919, allocations: 32.97 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.004939, allocations: 7.688 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.004955, allocations: 0 / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.004979, allocations: 37.45 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.00498, allocations: 0 / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.005116, allocations: 39.09 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.005155, allocations: 55.41 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.00526, allocations: 173.9 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.00527, allocations: 26.67 kB / 0.5232 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.005313, allocations: 134.9 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.005334, allocations: 3.953 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.005365, allocations: 20.34 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.005547, allocations: 496.1 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.005556, allocations: 1.312 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.005562, allocations: 4 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.005582, allocations: 12.25 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005584, allocations: 3.938 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.276e-05/0.005627, allocations: 38.14 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.005637, allocations: 5.031 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.005642, allocations: 3.984 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.005654, allocations: 1.219 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.0057, allocations: 4 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.005706, allocations: 4 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-06/0.005715, allocations: 3.938 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.005719, allocations: 1.781 kB / 0.5239 GB, free: 14.35 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.463e-05/0.005774, allocations: 156.6 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.005783, allocations: 3.953 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.005851, allocations: 50.88 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005853, allocations: 0 / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.005856, allocations: 0 / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.005859, allocations: 3.938 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.103e-05/0.00592, allocations: 116.6 kB / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005922, allocations: 4.969 kB / 0.5242 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.00593, allocations: 4 kB / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005931, allocations: 0 / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.005936, allocations: 0.9375 kB / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005936, allocations: 0 / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.005937, allocations: 3 kB / 0.5242 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.773e-05/0.005985, allocations: 72.41 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.005995, allocations: 7.953 kB / 0.5243 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-06/0.006002, allocations: 0 / 0.5243 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.731e-06/0.006008, allocations: 4 kB / 0.5243 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.00602, allocations: 0 / 0.5243 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.006022, allocations: 0 / 0.5243 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.006064, allocations: 131.2 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.3e-07/0.006065, allocations: 2.75 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001208/0.006185, allocations: 11.88 kB / 0.5245 GB, free: 13.73 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.0001705/0.006356, allocations: 117.7 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.19e-05/0.006418, allocations: 21.23 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.006419, allocations: 3.938 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.642e-06/0.006426, allocations: 7.688 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.006527, allocations: 5.281 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.006748, allocations: 117.2 kB / 0.5247 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.766e-05/0.006776, allocations: 51.36 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.006799, allocations: 8.641 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.006817, allocations: 9.344 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.006818, allocations: 0 / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.002203/0.009021, allocations: 0.5499 MB / 0.5253 GB, free: 12.82 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.7770059630274773]