Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001438/0.001438, allocations: 88.72 kB / 19.44 MB, free: 356 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.002225/0.002225, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.254/1.254, allocations: 154.6 MB / 414.1 MB, free: 0.6445 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5196 GB, free: 2.605 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.32e-05, allocations: 5.156 kB / 0.5196 GB, free: 2.602 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002983/0.003016, allocations: 1.413 MB / 0.521 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.004098, allocations: 464 kB / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.00415, allocations: 0 / 0.5214 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.236e-05/0.004242, allocations: 3.938 kB / 0.5214 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.449e-05/0.004327, allocations: 17.58 kB / 0.5214 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009191/0.005246, allocations: 235.3 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.005541, allocations: 151.7 kB / 0.5218 GB, free: 356 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.005582, allocations: 5.375 kB / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.005736, allocations: 75.88 kB / 0.5219 GB, free: 276 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.772e-05/0.005834, allocations: 36.48 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.005871, allocations: 12.75 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.006258, allocations: 183.7 kB / 0.5221 GB, free: 44 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.006339, allocations: 45.36 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.006445, allocations: 36.05 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.006945, allocations: 279.2 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.006951, allocations: 4 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006952, allocations: 1.344 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.006958, allocations: 0 / 0.5224 GB, free: 15.68 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.0009436/0.007901, allocations: 373.6 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.007942, allocations: 11.5 kB / 0.5228 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.145e-05/0.008023, allocations: 12.89 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.008284, allocations: 153.5 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.008304, allocations: 4.375 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.008335, allocations: 12.38 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.008524, allocations: 83.94 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.008533, allocations: 192 / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.008545, allocations: 384 / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.008553, allocations: 4.375 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.008652, allocations: 39.86 kB / 0.5231 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.008916, allocations: 162.7 kB / 0.5233 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.009078, allocations: 77.75 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.009182, allocations: 54.3 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.009195, allocations: 4.875 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.009462, allocations: 105.1 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.009463, allocations: 1.469 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0004356/0.009899, allocations: 193.5 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.009982, allocations: 85.05 kB / 0.5238 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.01018, allocations: 159.1 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.01022, allocations: 34.58 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.01031, allocations: 100.5 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.01037, allocations: 32.69 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.786e-05/0.01047, allocations: 53.69 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.01065, allocations: 322.8 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.805e-05/0.01074, allocations: 45.61 kB / 0.5245 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.01131, allocations: 0.5972 MB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.01148, allocations: 99.88 kB / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01148, allocations: 0 / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003125/0.0118, allocations: 170.3 kB / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.01181, allocations: 7.938 kB / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.01183, allocations: 5.25 kB / 0.5253 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.01186, allocations: 3.938 kB / 0.5253 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.01194, allocations: 11.98 kB / 0.5253 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.01195, allocations: 2.469 kB / 0.5253 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.01228, allocations: 82.55 kB / 0.5254 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.01229, allocations: 4 kB / 0.5254 GB, free: 12.27 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.0001444/0.01243, allocations: 133.8 kB / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.01247, allocations: 15.91 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.01251, allocations: 16.78 kB / 0.5256 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01251, allocations: 5.125 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.01251, allocations: 0 / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01252, allocations: 0 / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.01267, allocations: 126.2 kB / 0.5257 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01268, allocations: 0 / 0.5257 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.01272, allocations: 8.938 kB / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.01272, allocations: 3.984 kB / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.01273, allocations: 0 / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.01274, allocations: 4.656 kB / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.01274, allocations: 3.938 kB / 0.5257 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.01305, allocations: 190.8 kB / 0.5259 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.01307, allocations: 15.89 kB / 0.5259 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.01309, allocations: 0 / 0.5259 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.01314, allocations: 10.42 kB / 0.5259 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.01319, allocations: 7.938 kB / 0.5259 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.0132, allocations: 4 kB / 0.5259 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000105/0.01331, allocations: 113.5 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01331, allocations: 0 / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003499/0.01366, allocations: 79.8 kB / 0.5261 GB, free: 11.5 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.0003517/0.01401, allocations: 178.9 kB / 0.5263 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.01433, allocations: 155.3 kB / 0.5264 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01433, allocations: 0 / 0.5264 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.01441, allocations: 39.92 kB / 0.5265 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.0146, allocations: 11.86 kB / 0.5265 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.01514, allocations: 235.8 kB / 0.5267 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.01526, allocations: 89.11 kB / 0.5268 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.675e-05/0.0153, allocations: 20.36 kB / 0.5268 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.01534, allocations: 12.5 kB / 0.5268 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.01534, allocations: 0 / 0.5268 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.00735/0.02269, allocations: 2.704 MB / 0.5295 GB, free: 8.188 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.921190237044357]