Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001946/0.001946, allocations: 85.03 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002226/0.002226, allocations: 166.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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.485/1.485, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.2/1.2, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.465e-05, allocations: 7.797 kB / 0.6185 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002838/0.002872, allocations: 1.421 MB / 0.6199 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.003747, allocations: 454.2 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.003786, allocations: 0 / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.024e-05/0.003866, allocations: 11.92 kB / 0.6203 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.003922, allocations: 7.875 kB / 0.6203 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.004693, allocations: 250.2 kB / 0.6206 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.004931, allocations: 155.6 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.004976, allocations: 4 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.005106, allocations: 75.89 kB / 0.6208 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.005192, allocations: 35.94 kB / 0.6208 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.005227, allocations: 12 kB / 0.6208 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.005546, allocations: 191.6 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.005621, allocations: 31.92 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.005701, allocations: 47.89 kB / 0.6211 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.006096, allocations: 275.3 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.006099, allocations: 0 / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.72e-07/0.0061, allocations: 0 / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.006105, allocations: 0 / 0.6213 GB, free: 1.75 MB / 0.5294 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.0005721/0.006677, allocations: 377.6 kB / 0.6217 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.006713, allocations: 9.469 kB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.006772, allocations: 12.89 kB / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.006994, allocations: 149.6 kB / 0.6219 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.007011, allocations: 8.375 kB / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.007036, allocations: 16.31 kB / 0.6219 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.007199, allocations: 83.89 kB / 0.622 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.007207, allocations: 192 / 0.622 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.007219, allocations: 4.375 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.007227, allocations: 4.375 kB / 0.622 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.007306, allocations: 39.91 kB / 0.622 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.007526, allocations: 158.2 kB / 0.6222 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.007649, allocations: 85.11 kB / 0.6223 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.007729, allocations: 53.8 kB / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.00774, allocations: 0 / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.007963, allocations: 113 kB / 0.6224 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.007964, allocations: 0 / 0.6224 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0003446/0.008309, allocations: 181.5 kB / 0.6226 GB, free: 340 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.008377, allocations: 89.09 kB / 0.6227 GB, free: 232 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.008519, allocations: 156.1 kB / 0.6228 GB, free: 68 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.008556, allocations: 37.7 kB / 0.6229 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.008641, allocations: 96.52 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.008695, allocations: 39.73 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.008775, allocations: 49.7 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.008933, allocations: 330.8 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.009005, allocations: 39.98 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.009444, allocations: 0.6055 MB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.009588, allocations: 97.47 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.00959, allocations: 0 / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002445/0.009835, allocations: 165.4 kB / 0.6242 GB, free: 14.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.00985, allocations: 10.19 kB / 0.6242 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.009867, allocations: 0 / 0.6242 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.009883, allocations: 7.938 kB / 0.6242 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.009951, allocations: 4 kB / 0.6242 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.009957, allocations: 4 kB / 0.6243 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.01024, allocations: 78.55 kB / 0.6243 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.01025, allocations: 7.984 kB / 0.6243 GB, free: 14.33 MB / 0.545 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.0001277/0.01038, allocations: 138.7 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.0104, allocations: 11.95 kB / 0.6245 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.01043, allocations: 16.77 kB / 0.6245 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01043, allocations: 3.938 kB / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01044, allocations: 0 / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01044, allocations: 0 / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.01057, allocations: 133.2 kB / 0.6246 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01057, allocations: 0 / 0.6246 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.01061, allocations: 12 kB / 0.6246 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01061, allocations: 0 / 0.6246 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.01062, allocations: 7.938 kB / 0.6246 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01062, allocations: 0 / 0.6246 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01062, allocations: 7.938 kB / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.01086, allocations: 178.5 kB / 0.6248 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.01088, allocations: 19.83 kB / 0.6248 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01089, allocations: 8 kB / 0.6248 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.01093, allocations: 0 / 0.6248 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.01096, allocations: 11.92 kB / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.01097, allocations: 4 kB / 0.6249 GB, free: 13.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.182e-05/0.01105, allocations: 121.8 kB / 0.625 GB, free: 13.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01105, allocations: 0 / 0.625 GB, free: 13.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002952/0.01135, allocations: 71.86 kB / 0.625 GB, free: 13.53 MB / 0.545 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.0002378/0.01158, allocations: 171.1 kB / 0.6252 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.01183, allocations: 159.5 kB / 0.6254 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01183, allocations: 0 / 0.6254 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/0.0119, allocations: 39.92 kB / 0.6254 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.01206, allocations: 12.27 kB / 0.6254 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.01247, allocations: 222.8 kB / 0.6256 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.01257, allocations: 97.11 kB / 0.6257 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.529e-05/0.01262, allocations: 8.719 kB / 0.6257 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.01264, allocations: 16.5 kB / 0.6257 GB, free: 12.74 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.01264, allocations: 0 / 0.6257 GB, free: 12.74 MB / 0.545 GB Notification: Performance of Templates: time 0.006048/0.01869, allocations: 2.692 MB / 0.6284 GB, free: 10.12 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.874599993228912] Failed to read output from testmodel.py, exit status != 0: 0.027271825820207596 0.04134596999999994 0.03225968699999994 Calling exit ...