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.001284/0.001284, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001418/0.001418, allocations: 166.2 kB / 22.46 MB, free: 5.359 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.429/1.429, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.229/1.229, allocations: 154.6 MB / 413.7 MB, free: 5.285 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.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.823e-06/1.823e-06, allocations: 0 / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.035e-05, allocations: 4.906 kB / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002535/0.002565, allocations: 1.372 MB / 0.6198 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.002708, allocations: 31.88 kB / 0.6199 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.002753, allocations: 7.938 kB / 0.6199 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.002924, allocations: 11.88 kB / 0.6199 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.003029, allocations: 13.44 kB / 0.6199 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.003032, allocations: 0 / 0.6199 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.089e-05/0.003093, allocations: 19.88 kB / 0.6199 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.00313, allocations: 0 / 0.6199 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.003175, allocations: 9.078 kB / 0.6199 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.003228, allocations: 4 kB / 0.6199 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.003245, allocations: 7.875 kB / 0.6199 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-05/0.003291, allocations: 19.98 kB / 0.62 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.003327, allocations: 0 / 0.62 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.003346, allocations: 4 kB / 0.62 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003448, allocations: 27.84 kB / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.00345, allocations: 4 kB / 0.62 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003451, allocations: 0 / 0.62 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.003454, allocations: 0 / 0.62 GB, free: 3.125 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.0004067/0.003861, allocations: 262.2 kB / 0.6202 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.0039, allocations: 9.469 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.003937, allocations: 4.938 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.004116, allocations: 117.7 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.004126, allocations: 8.312 kB / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.004133, allocations: 384 / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.878e-05/0.004222, allocations: 34.25 kB / 0.6204 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.004232, allocations: 192 / 0.6204 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.004239, allocations: 384 / 0.6204 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.004257, allocations: 384 / 0.6204 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.474e-05/0.004291, allocations: 15.86 kB / 0.6204 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.004431, allocations: 101.4 kB / 0.6205 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.004479, allocations: 14.58 kB / 0.6205 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.004501, allocations: 12.92 kB / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.004521, allocations: 4 kB / 0.6206 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.004552, allocations: 38.48 kB / 0.6206 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.004553, allocations: 0 / 0.6206 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.004692, allocations: 37.64 kB / 0.6206 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.004736, allocations: 51.41 kB / 0.6207 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.004853, allocations: 121.8 kB / 0.6208 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.004874, allocations: 25.7 kB / 0.6208 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.004918, allocations: 84.14 kB / 0.6209 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.004938, allocations: 3.953 kB / 0.6209 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.004969, allocations: 17.7 kB / 0.6209 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.005117, allocations: 319 kB / 0.6212 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.005131, allocations: 4 kB / 0.6212 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-06/0.005137, allocations: 0 / 0.6212 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.005166, allocations: 12.86 kB / 0.6212 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.005168, allocations: 0 / 0.6212 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.671e-05/0.005234, allocations: 41.62 kB / 0.6213 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.005249, allocations: 4 kB / 0.6213 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005252, allocations: 0 / 0.6213 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.005266, allocations: 0 / 0.6213 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.005314, allocations: 4.094 kB / 0.6213 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.005318, allocations: 4 kB / 0.6213 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.005333, allocations: 3.938 kB / 0.6213 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.005338, 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 8.861e-05/0.005427, allocations: 110.8 kB / 0.6214 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.005441, allocations: 7.938 kB / 0.6214 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.005542, allocations: 49.06 kB / 0.6215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.005544, allocations: 0 / 0.6215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.005548, allocations: 0 / 0.6215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.005552, allocations: 3.938 kB / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.198e-05/0.005644, allocations: 109.3 kB / 0.6216 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.005647, allocations: 4 kB / 0.6216 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.005663, allocations: 4 kB / 0.6216 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.005666, allocations: 7.922 kB / 0.6216 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.005672, allocations: 0 / 0.6216 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.005673, allocations: 0 / 0.6216 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.005676, allocations: 3.984 kB / 0.6216 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.463e-05/0.005761, allocations: 61.08 kB / 0.6216 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.005771, allocations: 7.891 kB / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.005783, allocations: 4 kB / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-06/0.005793, allocations: 32 / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.005806, allocations: 7.984 kB / 0.6217 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.00581, allocations: 4 kB / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.005869, allocations: 87.28 kB / 0.6217 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.005869, allocations: 3.938 kB / 0.6218 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001884/0.006057, 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.0002293/0.006287, allocations: 112.2 kB / 0.6219 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.006364, allocations: 8 kB / 0.6219 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.006366, allocations: 0 / 0.6219 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.006377, allocations: 4 kB / 0.6219 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.006523, allocations: 8.75 kB / 0.6219 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.006788, allocations: 100.8 kB / 0.622 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.738e-05/0.006846, allocations: 63.34 kB / 0.622 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.968e-05/0.006905, allocations: 8.531 kB / 0.6221 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.006932, allocations: 12.62 kB / 0.6221 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.006933, allocations: 7.938 kB / 0.6221 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of Templates: time 0.002838/0.009771, allocations: 498.3 kB / 0.6225 GB, free: 232 kB / 0.5294 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.702212136238813] Failed to read output from testmodel.py, exit status != 0: 0.018479757010936737 0.033692024 0.027111872000000002 Calling exit ...