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.001083/0.001083, allocations: 93.06 kB / 19.65 MB, free: 280 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.002017/0.002017, allocations: 173 kB / 23.02 MB, free: 1.547 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.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8071/0.8071, allocations: 154.6 MB / 414.5 MB, free: 0.6484 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 179] 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.243e-06/1.243e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.828e-05, allocations: 5.859 kB / 0.5203 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001708/0.001726, allocations: 1.458 MB / 0.5217 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006173/0.002343, allocations: 478.2 kB / 0.5222 GB, free: 360 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.002375, allocations: 0.75 kB / 0.5222 GB, free: 360 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.699e-05/0.002452, allocations: 7.938 kB / 0.5222 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.00251, allocations: 13.14 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.0031, allocations: 244.5 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.003276, allocations: 155.3 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.172e-05/0.003308, allocations: 0 / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.003384, allocations: 78.11 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.097e-05/0.003445, allocations: 35.94 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.003467, allocations: 12 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.003686, allocations: 187.6 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.003735, allocations: 31.97 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.00379, allocations: 41.69 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.004039, allocations: 251.3 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004041, allocations: 0 / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.41e-07/0.004042, allocations: 4 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004046, allocations: 0 / 0.5232 GB, free: 15.32 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.0004466/0.004493, allocations: 476.4 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.004527, allocations: 8.938 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.004582, allocations: 16.89 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.004735, allocations: 151.6 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.004748, allocations: 12.38 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.004765, allocations: 8.375 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.004875, allocations: 70.45 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.004883, allocations: 192 / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.004893, allocations: 9.344 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.004901, allocations: 384 / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/0.004943, allocations: 31.83 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.005096, allocations: 169.8 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.542e-05/0.005171, allocations: 82.11 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.005211, allocations: 35.52 kB / 0.5242 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-06/0.005217, allocations: 1.156 kB / 0.5242 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.005326, allocations: 100.4 kB / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 7.71e-07/0.005327, allocations: 0.6875 kB / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002218/0.005549, allocations: 121.5 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.005589, allocations: 90.31 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.005691, allocations: 212.4 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.005713, allocations: 33.7 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.005768, allocations: 147.2 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.005806, allocations: 40.78 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.005856, allocations: 55.36 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.005969, allocations: 0.4967 MB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.184e-05/0.006001, allocations: 15.98 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.006237, allocations: 0.598 MB / 0.526 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.973e-05/0.006316, allocations: 74.19 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.006319, allocations: 4.844 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001286/0.006448, allocations: 131 kB / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.006459, allocations: 6.906 kB / 0.5262 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.006478, allocations: 4 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.006491, allocations: 3.938 kB / 0.5263 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/0.006565, allocations: 16 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.00657, allocations: 0 / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.006688, allocations: 54.86 kB / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.006696, allocations: 4 kB / 0.5263 GB, free: 11.67 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 7.863e-05/0.006775, allocations: 176.5 kB / 0.5265 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.006787, allocations: 11.91 kB / 0.5265 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.00681, allocations: 16.77 kB / 0.5265 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.006813, allocations: 3.938 kB / 0.5265 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.006816, allocations: 1.5 kB / 0.5265 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.006819, allocations: 4 kB / 0.5265 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.407e-05/0.006903, allocations: 144.5 kB / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.006905, allocations: 4 kB / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.006922, allocations: 4.5 kB / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006923, allocations: 0.9062 kB / 0.5267 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.006933, allocations: 8 kB / 0.5267 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.006933, allocations: 0.8125 kB / 0.5267 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.006935, allocations: 3.938 kB / 0.5267 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.007058, allocations: 155.1 kB / 0.5268 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.007068, allocations: 15.92 kB / 0.5269 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.007084, allocations: 3.938 kB / 0.5269 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.007104, allocations: 8 kB / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.007138, allocations: 11.92 kB / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.007142, allocations: 0 / 0.5269 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.007192, allocations: 147.2 kB / 0.527 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007192, allocations: 0 / 0.527 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000194/0.007386, allocations: 71.86 kB / 0.5271 GB, free: 10.82 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.0001719/0.007558, allocations: 178.6 kB / 0.5273 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.007727, allocations: 131 kB / 0.5274 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007728, allocations: 0 / 0.5274 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-05/0.007762, allocations: 34 kB / 0.5274 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.007871, allocations: 13.27 kB / 0.5274 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.008155, allocations: 219.5 kB / 0.5276 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.616e-05/0.008191, allocations: 68.22 kB / 0.5277 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.008219, allocations: 8.719 kB / 0.5277 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.00824, allocations: 13.66 kB / 0.5277 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of SimCode: time 3.7e-07/0.00824, allocations: 0 / 0.5277 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.004198/0.01244, allocations: 2.909 MB / 0.5306 GB, free: 7.395 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9986246079206467]