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.0009768/0.0009768, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001837/0.001837, allocations: 173 kB / 23.36 MB, free: 1.133 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.051/1.051, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.8632/0.8632, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.703e-06/1.703e-06, allocations: 0 / 480 MB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.07e-05, allocations: 2.906 kB / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002424/0.002445, allocations: 1.501 MB / 481.5 MB, free: 5.387 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006361/0.003081, allocations: 486.8 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.003114, allocations: 1.719 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.051e-05/0.003175, allocations: 3.938 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.003232, allocations: 15.2 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.003814, allocations: 229.9 kB / 482.2 MB, free: 4.68 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.003982, allocations: 150.8 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.004016, allocations: 4 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.004101, allocations: 78.28 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.00416, allocations: 36.83 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.004181, allocations: 8 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.004472, allocations: 200.6 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.004523, allocations: 43.89 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.004571, allocations: 36.55 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.004849, allocations: 251.3 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004852, allocations: 0.625 kB / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004853, allocations: 0 / 483 MB, free: 3.902 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.004857, allocations: 0.625 kB / 483 MB, free: 3.902 MB / 442.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.000429/0.005286, allocations: 351.9 kB / 483.4 MB, free: 3.535 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.005323, allocations: 12.66 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.005364, allocations: 12.92 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.005535, allocations: 146.2 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.005547, allocations: 4.375 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.005564, allocations: 13.03 kB / 483.5 MB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.421e-05/0.005659, allocations: 63.53 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005666, allocations: 192 / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.005674, allocations: 6.141 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.005681, allocations: 12.25 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.005719, allocations: 25.53 kB / 483.7 MB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.005838, allocations: 91.59 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.967e-05/0.005897, allocations: 57.11 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.005925, allocations: 26.62 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-06/0.005931, allocations: 0.875 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.006054, allocations: 100.1 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.006055, allocations: 0.625 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.000141/0.006196, allocations: 87.25 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.006248, allocations: 97.88 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.006325, allocations: 137.7 kB / 484.2 MB, free: 2.531 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.006347, allocations: 34.92 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.006386, allocations: 100.5 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.00643, allocations: 39.67 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.006489, allocations: 45.69 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.006579, allocations: 331.9 kB / 484.8 MB, free: 1.969 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.0066, allocations: 14.83 kB / 484.8 MB, free: 1.953 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.006813, allocations: 0.5338 MB / 485.3 MB, free: 1.266 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.806e-05/0.006881, allocations: 68.36 kB / 485.4 MB, free: 1.191 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006883, allocations: 0 / 485.4 MB, free: 1.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001103/0.006993, allocations: 103.1 kB / 485.5 MB, free: 1.086 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.007005, allocations: 8.719 kB / 485.5 MB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.00702, allocations: 3.984 kB / 485.5 MB, free: 1.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.915e-06/0.007028, allocations: 1.5 kB / 485.5 MB, free: 1.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.007092, allocations: 19.94 kB / 485.5 MB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.007096, allocations: 3.938 kB / 485.5 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.007192, allocations: 37.91 kB / 485.6 MB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.007198, allocations: 4 kB / 485.6 MB, free: 1.012 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.743e-05/0.007276, allocations: 125.5 kB / 485.7 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.007291, allocations: 7.984 kB / 485.7 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.007317, allocations: 17.38 kB / 485.7 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.007319, allocations: 0 / 485.7 MB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.007323, allocations: 5.406 kB / 485.7 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.007328, allocations: 3.938 kB / 485.7 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.433e-05/0.007412, allocations: 85.77 kB / 485.8 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007414, allocations: 0 / 485.8 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.007443, allocations: 12.92 kB / 485.8 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007446, allocations: 0 / 485.8 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.007451, allocations: 1.219 kB / 485.8 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.007454, allocations: 4 kB / 485.8 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.007456, allocations: 0.7969 kB / 485.8 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.007565, allocations: 115.3 kB / 485.9 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.007575, allocations: 7.953 kB / 486 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.007588, allocations: 3.984 kB / 486 MB, free: 0.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.00761, allocations: 4.531 kB / 486 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.007637, allocations: 9.172 kB / 486 MB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.007641, allocations: 4 kB / 486 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.371e-05/0.007665, allocations: 28.78 kB / 486 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007665, allocations: 0 / 486 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.007867, allocations: 80.7 kB / 486.1 MB, free: 468 kB / 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.000178/0.008045, allocations: 172.6 kB / 486.2 MB, free: 292 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.008188, allocations: 116.2 kB / 486.4 MB, free: 160 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.008191, allocations: 0 / 486.4 MB, free: 160 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.008223, allocations: 27.05 kB / 486.4 MB, free: 132 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.805e-05/0.008301, allocations: 7.984 kB / 486.4 MB, free: 124 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.008593, allocations: 202 kB / 486.6 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.008633, allocations: 67.34 kB / 486.7 MB, free: 15.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.008666, allocations: 14.62 kB / 486.7 MB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.8e-05/0.008744, allocations: 71.36 kB / 486.7 MB, free: 15.72 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008745, allocations: 0 / 486.7 MB, free: 15.72 MB / 458.7 MB Notification: Performance of Templates: time 0.004528/0.01327, allocations: 2.845 MB / 489.6 MB, free: 13.14 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6832516379654408]