Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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.001084/0.001084, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00183/0.002914, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001112/0.001112, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002647, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09138/1.118, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8247/0.8247, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3115/1.136, allocations: 49.13 MB / 448.4 MB, free: 6.012 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 449.6 MB, free: 4.766 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.055e-05, allocations: 9.125 kB / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002216/0.002237, allocations: 1.503 MB / 451.2 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005557/0.002792, allocations: 483.2 kB / 451.6 MB, free: 2.816 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.303e-05/0.002825, allocations: 4 kB / 451.6 MB, free: 2.812 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.096e-05/0.002876, allocations: 4.594 kB / 451.6 MB, free: 2.809 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.002923, allocations: 17.17 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.003411, allocations: 225.9 kB / 451.9 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.003588, allocations: 152.1 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.003629, allocations: 7.984 kB / 452 MB, free: 2.434 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003737, allocations: 82.77 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.003804, allocations: 38.78 kB / 452.2 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.003827, allocations: 12.62 kB / 452.2 MB, free: 2.309 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.00408, allocations: 195.7 kB / 452.4 MB, free: 2.117 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.004127, allocations: 25.84 kB / 452.4 MB, free: 2.094 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.004171, allocations: 23.94 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.004413, allocations: 207.5 kB / 452.6 MB, free: 1.867 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.656e-05/0.004429, allocations: 4 kB / 452.6 MB, free: 1.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004431, allocations: 0 / 452.6 MB, free: 1.863 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.004446, allocations: 0.9062 kB / 452.6 MB, free: 1.863 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004729/0.004919, allocations: 388.5 kB / 453 MB, free: 1.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.004949, allocations: 8.031 kB / 453 MB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.004988, allocations: 12.92 kB / 453 MB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.005135, allocations: 143.2 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.005147, allocations: 8.375 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.005163, allocations: 8.875 kB / 453.2 MB, free: 1.262 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.088e-05/0.005254, allocations: 70.7 kB / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.005261, allocations: 0.6875 kB / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.005269, allocations: 2.594 kB / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.005277, allocations: 384 / 453.2 MB, free: 1.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.606e-05/0.005313, allocations: 21.58 kB / 453.3 MB, free: 1.156 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.005419, allocations: 96.28 kB / 453.4 MB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.066e-05/0.005479, allocations: 50.95 kB / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.005509, allocations: 36 kB / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.005515, allocations: 0 / 453.4 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.005635, allocations: 92.83 kB / 453.5 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 6.31e-07/0.005636, allocations: 0 / 453.5 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001445/0.00578, allocations: 95.75 kB / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.005832, allocations: 89.09 kB / 453.7 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.005904, allocations: 142.3 kB / 453.9 MB, free: 484 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.005926, allocations: 33.7 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.005959, allocations: 96.48 kB / 454 MB, free: 344 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.005994, allocations: 36.22 kB / 454 MB, free: 308 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.006046, allocations: 49.67 kB / 454.1 MB, free: 252 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.006139, allocations: 332.1 kB / 454.4 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.006159, allocations: 10.83 kB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.006371, allocations: 0.5455 MB / 454.9 MB, free: 15.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.625e-05/0.006437, allocations: 70.19 kB / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.00644, allocations: 0 / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001005/0.00654, allocations: 99.19 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.006554, allocations: 4.719 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.006575, allocations: 4.609 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.006584, allocations: 0.9062 kB / 455.1 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.006665, allocations: 23.92 kB / 455.1 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006669, allocations: 8.531 kB / 455.1 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.006765, allocations: 33.36 kB / 455.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.006771, allocations: 4 kB / 455.2 MB, free: 14.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.396e-05/0.006845, allocations: 126 kB / 455.3 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.006857, allocations: 9.422 kB / 455.3 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.006883, allocations: 15.31 kB / 455.3 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.006886, allocations: 4 kB / 455.3 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.006888, allocations: 0 / 455.3 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.006892, allocations: 4.781 kB / 455.3 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.071e-05/0.006963, allocations: 89.75 kB / 455.4 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006964, allocations: 0.6562 kB / 455.4 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.006992, allocations: 15.92 kB / 455.4 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.007, allocations: 8.797 kB / 455.5 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.007002, allocations: 0 / 455.5 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.00701, allocations: 8.625 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.007011, allocations: 0 / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.007013, allocations: 1.5 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.292e-05/0.007106, allocations: 112.2 kB / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.00712, allocations: 4 kB / 455.6 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.888e-05/0.007149, allocations: 7.984 kB / 455.6 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.007178, allocations: 6.094 kB / 455.6 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.007184, allocations: 7.922 kB / 455.6 MB, free: 14.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.142e-05/0.007205, allocations: 27.08 kB / 455.6 MB, free: 14.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007205, allocations: 0 / 455.6 MB, free: 14.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.007382, allocations: 75.81 kB / 455.7 MB, free: 14.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000181/0.007563, allocations: 170.8 kB / 455.9 MB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.007704, allocations: 120.2 kB / 456 MB, free: 14.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.00771, allocations: 0 / 456 MB, free: 14.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.672e-05/0.007737, allocations: 22.05 kB / 456 MB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.119e-05/0.007818, allocations: 15.98 kB / 456 MB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.008219, allocations: 209.6 kB / 456.2 MB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.008258, allocations: 71.8 kB / 456.3 MB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.287e-05/0.008291, allocations: 10.17 kB / 456.3 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.008368, allocations: 79.89 kB / 456.4 MB, free: 13.63 MB / 442.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008369, allocations: 0 / 456.4 MB, free: 13.63 MB / 442.7 MB Notification: Performance of Templates: time 0.004555/0.01292, allocations: 3.116 MB / 459.5 MB, free: 10.8 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6085052555426955]