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.00117/0.00117, 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.001846/0.001846, allocations: 165 kB / 23.01 MB, free: 1.555 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.036/1.036, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.8379/0.8379, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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.603e-06/1.603e-06, allocations: 0 / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.567e-05, allocations: 5.109 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002/0.002025, allocations: 1.449 MB / 0.5217 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006291/0.002654, allocations: 485.2 kB / 0.5221 GB, free: 312 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.002692, allocations: 0 / 0.5221 GB, free: 312 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.737e-05/0.00277, allocations: 11.92 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.154e-05/0.002831, allocations: 9.219 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.003516, allocations: 243.2 kB / 0.5224 GB, free: 48 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.003704, allocations: 158.7 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.003743, allocations: 4 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.355e-05/0.003826, allocations: 75.88 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.003894, allocations: 39.89 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.00392, allocations: 8 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.004183, allocations: 187.7 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.00424, allocations: 35.91 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.0043, allocations: 40.44 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.004583, allocations: 243.4 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.004585, allocations: 0.5625 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004586, allocations: 4.562 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.004591, allocations: 0 / 0.5232 GB, free: 15.27 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.0004464/0.005037, allocations: 476.7 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.005074, allocations: 9.5 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.005127, allocations: 20.81 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.005285, allocations: 150.3 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.005299, allocations: 16.36 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.00532, allocations: 13.25 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.005434, allocations: 69.61 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.005444, allocations: 1.25 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.005453, allocations: 4.375 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.005461, allocations: 384 / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.005501, allocations: 21.42 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.005661, allocations: 176.3 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.537e-05/0.005736, allocations: 74.16 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.005778, allocations: 32.31 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.005786, allocations: 4 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.005908, allocations: 117.6 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.005909, allocations: 0 / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002356/0.006144, allocations: 117.6 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.006187, allocations: 81.11 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006291, allocations: 213.7 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.006314, allocations: 33.7 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.006372, allocations: 155.2 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.006409, allocations: 36.52 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.006464, allocations: 59.34 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.006581, allocations: 0.4987 MB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.006614, allocations: 15.98 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.006853, allocations: 0.5952 MB / 0.526 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.25e-05/0.006945, allocations: 66.09 kB / 0.5261 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006947, allocations: 0 / 0.5261 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001404/0.007087, allocations: 129.5 kB / 0.5262 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.0071, allocations: 4 kB / 0.5262 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.007117, allocations: 6.75 kB / 0.5262 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.007131, allocations: 3.938 kB / 0.5262 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.007214, allocations: 23.92 kB / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.007219, allocations: 0 / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.007338, allocations: 48.91 kB / 0.5263 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.007347, allocations: 4 kB / 0.5263 GB, free: 11.62 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 8.296e-05/0.00743, allocations: 177.5 kB / 0.5265 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.007444, allocations: 12.84 kB / 0.5265 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.007726, allocations: 12.88 kB / 0.5265 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.00773, allocations: 7.922 kB / 0.5265 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.007735, allocations: 4.5 kB / 0.5265 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007738, allocations: 0.6875 kB / 0.5265 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.776e-05/0.007826, allocations: 144.5 kB / 0.5267 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007828, allocations: 4.656 kB / 0.5267 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.007851, allocations: 7.938 kB / 0.5267 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.007855, allocations: 5.266 kB / 0.5267 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.007868, allocations: 4 kB / 0.5267 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.007869, allocations: 0 / 0.5267 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007871, allocations: 10.31 kB / 0.5267 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.008006, allocations: 152 kB / 0.5268 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.008017, allocations: 7.953 kB / 0.5268 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.008032, allocations: 0 / 0.5268 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.008056, allocations: 8 kB / 0.5269 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.008095, allocations: 15.86 kB / 0.5269 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.0081, allocations: 4 kB / 0.5269 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.039e-05/0.00815, allocations: 150.1 kB / 0.527 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00815, allocations: 0 / 0.527 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00022/0.00837, allocations: 71.88 kB / 0.5271 GB, free: 10.77 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.0001889/0.008559, allocations: 178.3 kB / 0.5273 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.008734, allocations: 135 kB / 0.5274 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008736, allocations: 0 / 0.5274 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.008772, allocations: 32.27 kB / 0.5274 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.008902, allocations: 12.36 kB / 0.5274 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.009224, allocations: 219.4 kB / 0.5276 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.009263, allocations: 72.48 kB / 0.5277 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.009293, allocations: 4.734 kB / 0.5277 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.009317, allocations: 12.5 kB / 0.5277 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.009317, allocations: 5.625 kB / 0.5277 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.004298/0.01362, allocations: 2.707 MB / 0.5304 GB, free: 7.523 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.996345710940659]