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.0007027/0.0007027, allocations: 72.55 kB / 19.93 MB, free: 4.621 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.0007085/0.0007085, allocations: 177.9 kB / 23.22 MB, free: 1.336 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.8583/0.8583, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6842/0.6842, allocations: 154.5 MB / 414.5 MB, free: 0.8281 MB / 378.7 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 179] 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 1.884e-06/1.884e-06, allocations: 0 / 0.6192 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.726e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001676/0.001704, allocations: 1.415 MB / 0.6206 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005832/0.002287, allocations: 454.2 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.002322, allocations: 4 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 6.997e-05/0.002392, allocations: 3.938 kB / 0.6211 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.002443, allocations: 15.91 kB / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.003034, allocations: 247.9 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.003197, allocations: 143.7 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.003238, allocations: 4 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.003315, allocations: 83.92 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.003377, allocations: 31.91 kB / 0.6216 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.003398, allocations: 8 kB / 0.6216 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.003615, allocations: 191.7 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.003671, allocations: 43.89 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.003721, allocations: 39.86 kB / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.003985, allocations: 279.2 kB / 0.6221 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003988, allocations: 0 / 0.6221 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003989, allocations: 0 / 0.6221 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.003993, allocations: 4 kB / 0.6221 GB, free: 10.36 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.0005773/0.004571, allocations: 377.5 kB / 0.6225 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.004604, allocations: 13.47 kB / 0.6225 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.00465, allocations: 12.89 kB / 0.6225 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.004803, allocations: 148 kB / 0.6226 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.004814, allocations: 4.375 kB / 0.6226 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.004834, allocations: 20.36 kB / 0.6226 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.00496, allocations: 83.89 kB / 0.6227 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.004969, allocations: 192 / 0.6227 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.004978, allocations: 384 / 0.6227 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004982, allocations: 384 / 0.6227 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.47e-05/0.005037, allocations: 43.92 kB / 0.6228 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.005195, allocations: 166.1 kB / 0.6229 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.245e-05/0.005278, allocations: 73.19 kB / 0.623 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.005328, allocations: 53.8 kB / 0.623 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.005339, allocations: 4 kB / 0.6231 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.005499, allocations: 105 kB / 0.6232 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.0055, allocations: 0 / 0.6232 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0002561/0.005756, allocations: 189.7 kB / 0.6233 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.005804, allocations: 89.09 kB / 0.6234 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.005889, allocations: 157.7 kB / 0.6236 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.00591, allocations: 37.7 kB / 0.6236 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.005955, allocations: 100.5 kB / 0.6237 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.00599, allocations: 35.73 kB / 0.6237 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.006044, allocations: 49.7 kB / 0.6238 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/0.00612, allocations: 322.8 kB / 0.6241 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/0.006167, allocations: 43.98 kB / 0.6241 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.006413, allocations: 0.6017 MB / 0.6247 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.006518, allocations: 100.7 kB / 0.6248 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.00652, allocations: 0 / 0.6248 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001467/0.006667, allocations: 161.5 kB / 0.625 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.006679, allocations: 8 kB / 0.625 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.006696, allocations: 4 kB / 0.625 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.006709, allocations: 3.938 kB / 0.625 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.006771, allocations: 15.98 kB / 0.625 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.006775, allocations: 0 / 0.625 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.006922, allocations: 83.73 kB / 0.6251 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.00693, allocations: 4 kB / 0.6251 GB, free: 6.941 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 8.675e-05/0.007017, allocations: 150.7 kB / 0.6252 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.00703, allocations: 11.91 kB / 0.6252 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.007053, allocations: 12.78 kB / 0.6253 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.007057, allocations: 7.938 kB / 0.6253 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.007061, allocations: 0 / 0.6253 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.007064, allocations: 4 kB / 0.6253 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.742e-05/0.007141, allocations: 125.3 kB / 0.6254 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.007142, allocations: 0 / 0.6254 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.007164, allocations: 7.984 kB / 0.6254 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007167, allocations: 4 kB / 0.6254 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.007175, allocations: 4 kB / 0.6254 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.007176, allocations: 0 / 0.6254 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.007177, allocations: 3.938 kB / 0.6254 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.007324, allocations: 177.8 kB / 0.6256 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.007336, allocations: 15.89 kB / 0.6256 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.007348, allocations: 0 / 0.6256 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.007372, allocations: 11.98 kB / 0.6256 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.007406, allocations: 7.938 kB / 0.6256 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.007411, allocations: 4 kB / 0.6256 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.00746, allocations: 113.5 kB / 0.6257 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00746, allocations: 0 / 0.6257 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002093/0.007669, allocations: 75.86 kB / 0.6258 GB, free: 6.152 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.0001954/0.007864, allocations: 179 kB / 0.626 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.008062, allocations: 158.9 kB / 0.6261 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.008064, allocations: 0 / 0.6261 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.008104, allocations: 43.92 kB / 0.6262 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.008226, allocations: 8 kB / 0.6262 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.008551, allocations: 252.5 kB / 0.6264 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.842e-05/0.008609, allocations: 89.11 kB / 0.6265 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.008629, allocations: 12.5 kB / 0.6265 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.008629, allocations: 0 / 0.6265 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of Templates: time 0.002889/0.01152, allocations: 2.497 MB / 0.6289 GB, free: 2.871 MB / 0.5886 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.092922546900809] Failed to read output from testmodel.py, exit status != 0: 0.01685044914484024 0.024943283 0.019313800000000002 Calling exit ...