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.001542/0.001542, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001998/0.001998, allocations: 215.2 kB / 23.01 MB, free: 4.609 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8765/0.8765, allocations: 134 MB / 447.2 MB, free: 10.3 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003036/0.003036, allocations: 72.83 kB / 0.6197 GB, free: 6.805 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2503, allocations: 85.9 MB / 0.7036 GB, free: 0.9805 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.003273/0.2535, allocations: 1.457 MB / 0.7051 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2547, allocations: 0.4944 MB / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.2547, allocations: 0 / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.424e-05/0.2548, allocations: 7.938 kB / 0.7055 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.997e-05/0.2549, allocations: 15.84 kB / 0.7056 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009925/0.2559, allocations: 238.8 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.2562, allocations: 155.7 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.2563, allocations: 0 / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.2564, allocations: 59.91 kB / 0.706 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.2565, allocations: 39.83 kB / 0.706 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.2565, allocations: 12 kB / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.2569, allocations: 195.8 kB / 0.7062 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.257, allocations: 43.78 kB / 0.7063 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.598e-05/0.2571, allocations: 63.72 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.2575, allocations: 231.3 kB / 0.7066 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2575, allocations: 0 / 0.7066 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2575, allocations: 0 / 0.7066 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2576, allocations: 0 / 0.7066 GB, free: 13.98 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.0006868/0.2582, allocations: 377.6 kB / 0.7069 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2583, allocations: 12.03 kB / 0.7069 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.2583, allocations: 12.89 kB / 0.7069 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.2586, allocations: 146.3 kB / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.2586, allocations: 12.38 kB / 0.7071 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.2586, allocations: 12.38 kB / 0.7071 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2588, allocations: 79.89 kB / 0.7072 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2588, allocations: 192 / 0.7072 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2589, allocations: 7.938 kB / 0.7072 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.2589, allocations: 3.938 kB / 0.7072 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.971e-05/0.259, allocations: 39.97 kB / 0.7072 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.2592, allocations: 205.6 kB / 0.7074 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.2594, allocations: 81.17 kB / 0.7075 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.484e-05/0.2595, allocations: 45.81 kB / 0.7075 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2595, allocations: 0 / 0.7075 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.2598, allocations: 125 kB / 0.7077 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.2598, allocations: 0 / 0.7077 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0003954/0.2602, allocations: 185.5 kB / 0.7078 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/0.2603, allocations: 89.08 kB / 0.7079 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.2604, allocations: 152 kB / 0.7081 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.2605, allocations: 37.7 kB / 0.7081 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.2605, allocations: 100.5 kB / 0.7082 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.2606, allocations: 39.73 kB / 0.7082 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.2607, allocations: 49.7 kB / 0.7083 GB, free: 12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2608, allocations: 322.8 kB / 0.7086 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.2609, allocations: 43.97 kB / 0.7086 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.2612, allocations: 201.2 kB / 0.7088 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.2613, allocations: 97.14 kB / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2613, allocations: 4 kB / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002722/0.2616, allocations: 169.4 kB / 0.7091 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2616, allocations: 4 kB / 0.7091 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.2616, allocations: 4 kB / 0.7091 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2617, allocations: 4 kB / 0.7091 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.2618, allocations: 11.98 kB / 0.7091 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2618, allocations: 0 / 0.7091 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.262, allocations: 75.8 kB / 0.7092 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2621, allocations: 7.938 kB / 0.7092 GB, free: 11 MB / 0.5294 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.0001423/0.2622, allocations: 141.8 kB / 0.7093 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.2622, allocations: 11.89 kB / 0.7093 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.2623, allocations: 12.72 kB / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2623, allocations: 0 / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2623, allocations: 0 / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2623, allocations: 7.984 kB / 0.7094 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2624, allocations: 160.7 kB / 0.7095 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2625, allocations: 7.938 kB / 0.7095 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.2625, allocations: 8 kB / 0.7095 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2625, allocations: 0 / 0.7095 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2625, allocations: 7.984 kB / 0.7095 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.2625, allocations: 4 kB / 0.7095 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2625, allocations: 0 / 0.7095 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.2628, allocations: 173.8 kB / 0.7097 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.2628, allocations: 19.84 kB / 0.7097 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.2628, allocations: 4 kB / 0.7097 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.2629, allocations: 3.938 kB / 0.7097 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.2629, allocations: 7.984 kB / 0.7097 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.2629, allocations: 8 kB / 0.7097 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000106/0.263, allocations: 111.2 kB / 0.7098 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.263, allocations: 0 / 0.7098 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003378/0.2634, allocations: 75.8 kB / 0.7099 GB, free: 10.18 MB / 0.5294 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.00029/0.2637, allocations: 163.1 kB / 0.7101 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.264, allocations: 167.3 kB / 0.7102 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.264, allocations: 0 / 0.7102 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.2641, allocations: 39.92 kB / 0.7103 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.2642, allocations: 10.28 kB / 0.7103 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.2648, allocations: 246.2 kB / 0.7105 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.2652, allocations: 0.7078 MB / 0.7112 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.2652, allocations: 15.44 kB / 0.7112 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.2652, allocations: 0 / 0.7112 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of Templates: time 0.005671/0.2709, allocations: 2.44 MB / 0.7136 GB, free: 6.34 MB / 0.5294 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: 9.219073000829667] Failed to read output from testmodel.py, exit status != 0: 0.28146771201863885 0.29724622799999995 0.036256434000000004 Calling exit ...