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.0007756/0.0007756, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007681/0.0007681, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.868/0.868, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-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 0.6831/0.6831, allocations: 154.5 MB / 414.5 MB, free: 0.8359 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.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.312e-06/1.312e-06, allocations: 3.938 kB / 0.6192 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.065e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001777/0.001798, allocations: 1.382 MB / 0.6206 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001306/0.001928, allocations: 39.81 kB / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.001972, allocations: 4 kB / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.002142, allocations: 3.938 kB / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.002259, allocations: 19.86 kB / 0.6207 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.538e-06/0.002264, allocations: 0 / 0.6207 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.087e-05/0.002345, allocations: 23.86 kB / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.00239, allocations: 7.984 kB / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.002436, allocations: 8 kB / 0.6207 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.725e-05/0.002493, allocations: 7.984 kB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.002516, allocations: 0 / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.002562, allocations: 12 kB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.00261, allocations: 7.938 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.002628, allocations: 4 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.002736, allocations: 35.83 kB / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002738, allocations: 0 / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.011e-06/0.002739, allocations: 0 / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.002743, allocations: 0 / 0.6208 GB, free: 11.69 MB / 0.5886 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.0003079/0.003051, allocations: 262.3 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.003089, allocations: 13.41 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.003118, allocations: 0.9375 kB / 0.621 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.003257, allocations: 117.7 kB / 0.6211 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.003265, allocations: 4.375 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.003273, allocations: 384 / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.54e-05/0.003349, allocations: 30.27 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.003356, allocations: 4.125 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.003364, allocations: 384 / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.003386, allocations: 8.359 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.003407, allocations: 11.94 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.003517, allocations: 101.4 kB / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.665e-05/0.003553, allocations: 18.52 kB / 0.6213 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.003571, allocations: 12.91 kB / 0.6213 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.003595, allocations: 0 / 0.6213 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.003618, allocations: 34.56 kB / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.003618, allocations: 0 / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.003747, allocations: 41.64 kB / 0.6214 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.003782, allocations: 55.34 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.003873, allocations: 121.8 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.003884, allocations: 29.83 kB / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.003916, allocations: 88.12 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.003938, allocations: 7.938 kB / 0.6217 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.003959, allocations: 13.72 kB / 0.6217 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.004035, allocations: 310.8 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.004045, allocations: 4 kB / 0.622 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.004052, allocations: 4 kB / 0.622 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/0.004072, allocations: 12.84 kB / 0.622 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004074, allocations: 0 / 0.622 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.732e-05/0.004111, allocations: 41.7 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.004124, allocations: 4 kB / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.004129, allocations: 0 / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.00414, allocations: 4 kB / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.004188, allocations: 3.984 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.004193, allocations: 0 / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-06/0.004203, allocations: 3.938 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.004209, allocations: 4 kB / 0.6221 GB, free: 10.18 MB / 0.5886 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.538e-05/0.004264, allocations: 114.8 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-06/0.00427, allocations: 7.953 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.00434, allocations: 45.2 kB / 0.6222 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.004341, allocations: 0 / 0.6222 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.004346, allocations: 7.984 kB / 0.6222 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.00435, allocations: 3.938 kB / 0.6223 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.74e-05/0.004408, allocations: 101.3 kB / 0.6223 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004408, allocations: 3.938 kB / 0.6224 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-06/0.004415, allocations: 3.984 kB / 0.6224 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004416, allocations: 0 / 0.6224 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-06/0.004421, allocations: 7.938 kB / 0.6224 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.6e-07/0.004421, allocations: 0 / 0.6224 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004422, allocations: 320 / 0.6224 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.553e-05/0.004468, allocations: 61.11 kB / 0.6224 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.004478, allocations: 7.938 kB / 0.6224 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.004487, allocations: 4 kB / 0.6224 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.759e-06/0.004492, allocations: 3.938 kB / 0.6224 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.004504, allocations: 4 kB / 0.6224 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-07/0.004505, allocations: 0 / 0.6224 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.004543, allocations: 95.25 kB / 0.6225 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.004543, allocations: 4 kB / 0.6225 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001304/0.004673, allocations: 3.938 kB / 0.6225 GB, free: 9.637 MB / 0.5886 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.0001527/0.004826, allocations: 112.9 kB / 0.6226 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.975e-05/0.004886, allocations: 11.94 kB / 0.6227 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.004887, allocations: 0 / 0.6227 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-06/0.004893, allocations: 7.984 kB / 0.6227 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.004998, allocations: 2.672 kB / 0.6227 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.00523, allocations: 138.8 kB / 0.6228 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.005274, allocations: 59.34 kB / 0.6229 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.005294, allocations: 12.5 kB / 0.6229 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.005294, allocations: 0 / 0.6229 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of Templates: time 0.001639/0.006933, allocations: 0.7887 MB / 0.6236 GB, free: 8.461 MB / 0.5886 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.360324519686401] Failed to read output from testmodel.py, exit status != 0: 0.011217168532311916 0.018832114 0.014533362000000001 Calling exit ...