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.001324/0.001324, allocations: 88.72 kB / 19.44 MB, free: 352 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.001515/0.001515, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.375 MB / 186.7 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-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 1.248/1.248, allocations: 154.8 MB / 414.3 MB, free: 368 kB / 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 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.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.493e-06/1.493e-06, allocations: 0.7656 kB / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.486e-05, allocations: 2.875 kB / 0.5198 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.003042/0.003076, allocations: 1.408 MB / 0.5212 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.004184, allocations: 466.9 kB / 0.5216 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.004215, allocations: 0.5625 kB / 0.5216 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.721e-05/0.004302, allocations: 15.36 kB / 0.5216 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.004361, allocations: 7.875 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.005183, allocations: 239.3 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.005435, allocations: 147.7 kB / 0.522 GB, free: 56 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.00547, allocations: 4 kB / 0.522 GB, free: 52 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.005619, allocations: 87.86 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.005717, allocations: 32.55 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.005751, allocations: 12 kB / 0.5221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.006089, allocations: 188.3 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.767e-05/0.006166, allocations: 36.41 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.006249, allocations: 40.84 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.006695, allocations: 275.3 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.006698, allocations: 4 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006699, allocations: 1.562 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.006704, allocations: 0 / 0.5227 GB, free: 15.39 MB / 0.4948 GB 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.0006591/0.007363, allocations: 369.6 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.007404, allocations: 8.875 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.855e-05/0.007483, allocations: 16.89 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.007735, allocations: 145.6 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.007763, allocations: 16.8 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.007793, allocations: 10.38 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.007972, allocations: 83.89 kB / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.007981, allocations: 192 / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.007994, allocations: 4.375 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.007998, allocations: 384 / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.417e-05/0.008092, allocations: 36.48 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.008356, allocations: 170.1 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.008494, allocations: 73.73 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.008602, allocations: 50.56 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.008617, allocations: 0.5625 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.008879, allocations: 114.5 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 9.51e-07/0.00888, allocations: 0 / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0004175/0.009297, allocations: 185.6 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.009376, allocations: 85.11 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.00956, allocations: 160.4 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.009603, allocations: 33.7 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.009694, allocations: 101.4 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.009755, allocations: 39.72 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.009844, allocations: 45.7 kB / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.01003, allocations: 329.9 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.01011, allocations: 43.98 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.01071, allocations: 0.602 MB / 0.5253 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.01088, allocations: 97.14 kB / 0.5254 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01088, allocations: 0 / 0.5254 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002859/0.01116, allocations: 169.4 kB / 0.5255 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01118, allocations: 4 kB / 0.5255 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.0112, allocations: 4 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.01123, allocations: 8.453 kB / 0.5256 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.01132, allocations: 17.12 kB / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.01132, allocations: 0 / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.01165, allocations: 74.42 kB / 0.5256 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.01167, allocations: 8.938 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB 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 0.0001445/0.01181, allocations: 131 kB / 0.5258 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.01184, allocations: 15.91 kB / 0.5258 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.01188, allocations: 12.78 kB / 0.5258 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.01188, allocations: 8.547 kB / 0.5258 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.01189, allocations: 4 kB / 0.5258 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01189, allocations: 1.812 kB / 0.5258 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.01205, allocations: 129.3 kB / 0.5259 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.01205, allocations: 3.984 kB / 0.5259 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.01209, allocations: 11.94 kB / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01209, allocations: 0 / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.0121, allocations: 3.125 kB / 0.526 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.0121, allocations: 4 kB / 0.526 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.01211, allocations: 3.938 kB / 0.526 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.01242, allocations: 185.8 kB / 0.5261 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.01244, allocations: 11.89 kB / 0.5262 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.01246, allocations: 7.984 kB / 0.5262 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.01251, allocations: 4 kB / 0.5262 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.01256, allocations: 15.86 kB / 0.5262 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.01257, allocations: 3.125 kB / 0.5262 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000105/0.01267, allocations: 115.9 kB / 0.5263 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01267, allocations: 0 / 0.5263 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003323/0.01301, allocations: 71.88 kB / 0.5264 GB, free: 11.2 MB / 0.4948 GB 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.000321/0.01333, allocations: 167.1 kB / 0.5265 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.01363, allocations: 163.3 kB / 0.5267 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01363, allocations: 1.812 kB / 0.5267 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.459e-05/0.01371, allocations: 35.98 kB / 0.5267 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01388, allocations: 11.8 kB / 0.5267 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.0144, allocations: 239.7 kB / 0.527 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.01452, allocations: 93.11 kB / 0.527 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.676e-05/0.01457, allocations: 12.89 kB / 0.5271 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.0146, allocations: 15.25 kB / 0.5271 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.0146, allocations: 0 / 0.5271 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.006856/0.02145, allocations: 2.72 MB / 0.5297 GB, free: 7.879 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.897017195005901]