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.001598/0.001598, allocations: 78.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001908/0.001908, allocations: 169.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.434/1.434, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.19/1.19, allocations: 154.6 MB / 413.7 MB, free: 5.316 MB / 382.1 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 178] 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.543e-06/1.543e-06, allocations: 0 / 0.6185 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.599e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003033/0.003059, allocations: 1.392 MB / 0.6198 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.003239, allocations: 39.88 kB / 0.6199 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.00328, allocations: 3.938 kB / 0.6199 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.003436, allocations: 15.92 kB / 0.6199 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.003548, allocations: 11.86 kB / 0.6199 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.397e-06/0.003551, allocations: 4 kB / 0.6199 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.003615, allocations: 19.94 kB / 0.6199 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.003661, allocations: 11.94 kB / 0.6199 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.244e-05/0.003704, allocations: 7.984 kB / 0.62 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.003757, allocations: 11.92 kB / 0.62 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.003773, allocations: 0 / 0.62 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.64e-05/0.003819, allocations: 12 kB / 0.62 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.003857, allocations: 3.984 kB / 0.62 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.00388, allocations: 8 kB / 0.62 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.705e-05/0.003977, allocations: 31.84 kB / 0.62 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003979, allocations: 0 / 0.62 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.61e-07/0.00398, allocations: 0 / 0.62 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003984, allocations: 4 kB / 0.62 GB, free: 3.133 MB / 0.5294 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.0003284/0.004312, allocations: 258.2 kB / 0.6203 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.004345, allocations: 9.469 kB / 0.6203 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.004376, allocations: 4.938 kB / 0.6203 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.004535, allocations: 121.7 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.004544, allocations: 384 / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.004553, allocations: 4.375 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.782e-05/0.00463, allocations: 38.2 kB / 0.6204 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004638, allocations: 192 / 0.6204 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.004644, allocations: 384 / 0.6204 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.00466, allocations: 4.375 kB / 0.6204 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.004687, allocations: 15.86 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.004817, allocations: 101.3 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.87e-05/0.004866, allocations: 22.61 kB / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.004882, allocations: 4.859 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.004902, allocations: 7.922 kB / 0.6206 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.004932, allocations: 34.62 kB / 0.6206 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.004933, allocations: 0 / 0.6206 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.005058, allocations: 41.64 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.005104, allocations: 51.41 kB / 0.6207 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.005211, allocations: 121.9 kB / 0.6208 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.005225, allocations: 25.7 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.005273, allocations: 88.14 kB / 0.6209 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.005294, allocations: 7.938 kB / 0.6209 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.005319, allocations: 9.719 kB / 0.621 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.005452, allocations: 314.8 kB / 0.6213 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.005464, allocations: 4 kB / 0.6213 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-06/0.005473, allocations: 4 kB / 0.6213 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.005497, allocations: 8.859 kB / 0.6213 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.005498, allocations: 8 kB / 0.6213 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.232e-05/0.005561, allocations: 37.69 kB / 0.6213 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.005572, allocations: 8 kB / 0.6213 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.005575, allocations: 0 / 0.6213 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.005587, allocations: 0 / 0.6213 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/0.00563, allocations: 0 / 0.6213 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.005637, allocations: 4 kB / 0.6213 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.005651, allocations: 3.938 kB / 0.6213 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.005656, allocations: 0 / 0.6213 GB, free: 1.621 MB / 0.5294 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 7.996e-05/0.005735, allocations: 114.8 kB / 0.6214 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.005747, allocations: 7.984 kB / 0.6214 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.184e-05/0.005838, allocations: 49.06 kB / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.00584, allocations: 0 / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.005843, allocations: 0 / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.005849, allocations: 11.86 kB / 0.6215 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.422e-05/0.005933, allocations: 101.3 kB / 0.6216 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005934, allocations: 0 / 0.6216 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.005948, allocations: 4 kB / 0.6216 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.005953, allocations: 3.984 kB / 0.6216 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.005958, allocations: 0 / 0.6216 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005959, allocations: 0 / 0.6216 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00596, allocations: 4.031 kB / 0.6216 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.514e-05/0.006035, allocations: 57.08 kB / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.006045, allocations: 11.89 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.006062, allocations: 11.98 kB / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-06/0.006071, allocations: 0 / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.006083, allocations: 3.938 kB / 0.6217 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006087, allocations: 4 kB / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.537e-05/0.006152, allocations: 91.27 kB / 0.6218 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.006152, allocations: 0 / 0.6218 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001845/0.006337, allocations: 7.938 kB / 0.6218 GB, free: 1.074 MB / 0.5294 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.0001872/0.006524, allocations: 111.2 kB / 0.6219 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.944e-05/0.006594, allocations: 8 kB / 0.6219 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.006595, allocations: 4 kB / 0.6219 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.006605, allocations: 3.984 kB / 0.6219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.006748, allocations: 4 kB / 0.6219 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.006998, allocations: 108.9 kB / 0.622 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.007054, allocations: 67.28 kB / 0.6221 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.215e-05/0.007106, allocations: 0 / 0.6221 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.007131, allocations: 12.5 kB / 0.6221 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.007131, allocations: 3.938 kB / 0.6221 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of Templates: time 0.002716/0.009847, allocations: 0.513 MB / 0.6226 GB, free: 200 kB / 0.5294 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.657207578420639] Failed to read output from testmodel.py, exit status != 0: 0.018208567053079605 0.032138471 0.025176341 Calling exit ...