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.0007463/0.0007463, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007492/0.0007492, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.865/0.865, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-531:686: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-531:694: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.6873/0.6873, allocations: 154.6 MB / 414.5 MB, free: 0.8086 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.352e-06/1.352e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.053e-05, allocations: 2.781 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001591/0.001611, allocations: 1.419 MB / 0.6207 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005378/0.002149, allocations: 454.2 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.002179, allocations: 4 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.657e-05/0.002246, allocations: 7.938 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.002295, allocations: 15.86 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.002788, allocations: 238.2 kB / 0.6214 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.002945, allocations: 155.6 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.002981, allocations: 7.984 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.139e-05/0.003052, allocations: 75.88 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.356e-05/0.003116, allocations: 39.89 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.003136, allocations: 12 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.003322, allocations: 195.6 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.003374, allocations: 39.91 kB / 0.6219 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.003422, allocations: 43.91 kB / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.003669, allocations: 263.4 kB / 0.6222 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003671, allocations: 0 / 0.6222 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003672, allocations: 0 / 0.6222 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003675, allocations: 4 kB / 0.6222 GB, free: 10.29 MB / 0.5886 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.0004104/0.004086, allocations: 369.6 kB / 0.6225 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.004118, allocations: 12.03 kB / 0.6225 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.00416, allocations: 16.89 kB / 0.6225 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.004307, allocations: 149.5 kB / 0.6227 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.004319, allocations: 8.375 kB / 0.6227 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.004337, allocations: 12.38 kB / 0.6227 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.004456, allocations: 87.88 kB / 0.6228 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.004463, allocations: 192 / 0.6228 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.004474, allocations: 4.375 kB / 0.6228 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.004478, allocations: 384 / 0.6228 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.371e-05/0.004532, allocations: 43.86 kB / 0.6228 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.004678, allocations: 158.1 kB / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.89e-05/0.004757, allocations: 81.23 kB / 0.6231 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.004811, allocations: 53.75 kB / 0.6231 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.004821, allocations: 4 kB / 0.6231 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.004952, allocations: 101.1 kB / 0.6232 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 7.41e-07/0.004953, allocations: 4 kB / 0.6232 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0002703/0.005224, allocations: 185.5 kB / 0.6234 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.005275, allocations: 85.11 kB / 0.6235 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.741e-05/0.005362, allocations: 152.6 kB / 0.6236 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.005382, allocations: 37.7 kB / 0.6237 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.005427, allocations: 100.5 kB / 0.6237 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.00546, allocations: 39.75 kB / 0.6238 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.005508, allocations: 49.69 kB / 0.6238 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.005587, allocations: 326.8 kB / 0.6241 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.005632, allocations: 43.92 kB / 0.6242 GB, free: 8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.005866, allocations: 0.5924 MB / 0.6248 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.296e-05/0.005959, allocations: 104.7 kB / 0.6249 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005961, allocations: 3.938 kB / 0.6249 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001428/0.006104, allocations: 161.5 kB / 0.625 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.006114, allocations: 7.938 kB / 0.625 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.006131, allocations: 4.625 kB / 0.625 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.006142, allocations: 7.938 kB / 0.625 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.006199, allocations: 11.94 kB / 0.6251 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.006206, allocations: 3.984 kB / 0.6251 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.006347, allocations: 75.8 kB / 0.6251 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.006355, allocations: 12 kB / 0.6251 GB, free: 6.859 MB / 0.5886 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.07e-05/0.006426, allocations: 130.8 kB / 0.6253 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.006437, allocations: 11.91 kB / 0.6253 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.006459, allocations: 12.78 kB / 0.6253 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.006463, allocations: 7.938 kB / 0.6253 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.006466, allocations: 0 / 0.6253 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006469, allocations: 0 / 0.6253 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.423e-05/0.006544, allocations: 129.3 kB / 0.6254 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.006544, allocations: 0 / 0.6254 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.006562, allocations: 11.94 kB / 0.6254 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.006564, allocations: 4 kB / 0.6254 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.006571, allocations: 3.984 kB / 0.6254 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006572, allocations: 0 / 0.6254 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.006574, allocations: 3.938 kB / 0.6254 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.006726, allocations: 189.8 kB / 0.6256 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.006736, allocations: 11.89 kB / 0.6256 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.006748, allocations: 0 / 0.6256 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.398e-05/0.006772, allocations: 8 kB / 0.6256 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.006804, allocations: 11.92 kB / 0.6257 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.006808, allocations: 4.031 kB / 0.6257 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.006858, allocations: 122 kB / 0.6258 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006858, allocations: 0 / 0.6258 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001752/0.007033, allocations: 75.86 kB / 0.6258 GB, free: 6.074 MB / 0.5886 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.0001683/0.007201, allocations: 171.1 kB / 0.626 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.007371, allocations: 159.3 kB / 0.6262 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.007373, allocations: 0 / 0.6262 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.007409, allocations: 31.98 kB / 0.6262 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.007518, allocations: 8 kB / 0.6262 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.00786, allocations: 258.9 kB / 0.6264 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.598e-05/0.007916, allocations: 93.11 kB / 0.6265 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.007938, allocations: 12.5 kB / 0.6265 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of SimCode: time 6.41e-07/0.007939, allocations: 0 / 0.6265 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of Templates: time 0.003017/0.01096, allocations: 2.499 MB / 0.629 GB, free: 2.809 MB / 0.5886 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: 4.965346775949001] Failed to read output from testmodel.py, exit status != 0: 0.01521165668964386 0.022979180000000002 0.017705716 Calling exit ...