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.001034/0.001034, 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.001063/0.001063, allocations: 169 kB / 23.02 MB, free: 1.551 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.9606/0.9606, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8478/0.8478, allocations: 154.8 MB / 414.7 MB, free: 0.4922 MB / 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.623e-06/1.623e-06, allocations: 0 / 0.5205 GB, free: 2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.872e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002314/0.002343, allocations: 1.396 MB / 0.5219 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00013/0.002473, allocations: 35.83 kB / 0.5219 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.002517, allocations: 5.625 kB / 0.522 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.00269, allocations: 11.92 kB / 0.522 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.002799, allocations: 6.703 kB / 0.522 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.936e-06/0.002802, allocations: 0 / 0.522 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.253e-05/0.002864, allocations: 23.86 kB / 0.522 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.002902, allocations: 7.922 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.002951, allocations: 5.344 kB / 0.522 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.003003, allocations: 11.98 kB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.003021, allocations: 0 / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.003065, allocations: 11.94 kB / 0.522 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.0031, allocations: 8.719 kB / 0.522 GB, free: 500 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.003117, allocations: 3.984 kB / 0.522 GB, free: 496 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.386e-05/0.003211, allocations: 29.66 kB / 0.5221 GB, free: 468 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.003214, allocations: 0 / 0.5221 GB, free: 468 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003215, allocations: 0 / 0.5221 GB, free: 468 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.003219, allocations: 0 / 0.5221 GB, free: 468 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.0003006/0.00352, allocations: 362.7 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.003555, allocations: 8.031 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.00359, allocations: 4.938 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.003735, allocations: 125.3 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.003744, allocations: 384 / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.003755, allocations: 4.359 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.258e-05/0.003827, allocations: 31.73 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.003837, allocations: 192 / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.003844, allocations: 384 / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.003873, allocations: 4.312 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.176e-05/0.003885, allocations: 8.906 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.003992, allocations: 116.7 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.482e-05/0.004027, allocations: 24.03 kB / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.004045, allocations: 11.75 kB / 0.5227 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.004064, allocations: 5 kB / 0.5227 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.004083, allocations: 33.39 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.004083, allocations: 0 / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001096/0.004193, allocations: 42.55 kB / 0.5228 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.004219, allocations: 51.41 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.004313, allocations: 182.3 kB / 0.523 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.004325, allocations: 26.42 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.004365, allocations: 130.9 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.004384, allocations: 5.219 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.004406, allocations: 15.38 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.004509, allocations: 0.4884 MB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.004517, allocations: 4.562 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.004524, allocations: 5.766 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.067e-05/0.004544, allocations: 15.62 kB / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.004546, allocations: 0 / 0.5237 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.67e-05/0.004582, allocations: 29.7 kB / 0.5237 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.004594, allocations: 10.66 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.004598, allocations: 0 / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.004614, allocations: 0 / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.004664, allocations: 0 / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.00467, allocations: 4 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.081e-05/0.00468, allocations: 9.406 kB / 0.5238 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.004685, allocations: 0 / 0.5238 GB, free: 14.53 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.774e-05/0.004743, allocations: 156.6 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-06/0.004749, allocations: 8.703 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.06e-05/0.00482, allocations: 38.58 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.004821, allocations: 0 / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.004825, allocations: 0 / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.004828, allocations: 3.938 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.183e-05/0.00489, allocations: 129.3 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-07/0.004891, allocations: 0 / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.004896, allocations: 1.25 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-07/0.004897, allocations: 0 / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.004902, allocations: 0 / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.004904, allocations: 320 / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.004908, allocations: 10.7 kB / 0.5241 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.428e-05/0.004972, allocations: 76.33 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.004983, allocations: 3.953 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.004994, allocations: 3.984 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.005002, allocations: 3.938 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.005017, allocations: 3.984 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.005019, allocations: 4 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.635e-05/0.005066, allocations: 137.9 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005066, allocations: 0 / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001373/0.005203, allocations: 7.938 kB / 0.5243 GB, free: 13.89 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.000184/0.005387, allocations: 111.3 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.656e-05/0.005454, allocations: 12.62 kB / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.005455, allocations: 0 / 0.5244 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.723e-06/0.005462, allocations: 8.625 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.005576, allocations: 14.34 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.005798, allocations: 115.5 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.005826, allocations: 55.34 kB / 0.5246 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.808e-05/0.005844, allocations: 4 kB / 0.5246 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.005864, allocations: 14.06 kB / 0.5246 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.005865, allocations: 0 / 0.5246 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.00195/0.007815, allocations: 0.4983 MB / 0.5251 GB, free: 13.04 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: 4.018257233314216]