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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009982/0.009982, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7856/0.7856, allocations: 132.3 MB / 148.1 MB, free: 240 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.721/1.721, allocations: 223.2 MB / 403.2 MB, free: 6.777 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000938/0.0009381, allocations: 99.06 kB / 485.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004706, allocations: 4 kB / 0.5641 GB, free: 2.145 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5376/0.5381, allocations: 81.58 MB / 0.6437 GB, free: 39.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.7141, allocations: 111.5 MB / 0.7526 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/0.7145, allocations: 75.95 kB / 0.7527 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01176/0.7263, allocations: 3.987 MB / 0.7566 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.067e-06/0.7264, allocations: 0 / 0.7566 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.7264, allocations: 4 kB / 0.7566 GB, free: 4.422 MB / 0.5261 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.0007853/0.7272, allocations: 443.3 kB / 0.757 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.049e-05/0.7273, allocations: 8.031 kB / 0.757 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.708e-05/0.7274, allocations: 15.81 kB / 0.757 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.7279, allocations: 213.2 kB / 0.7572 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.7279, allocations: 8 kB / 0.7572 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.728, allocations: 12 kB / 0.7572 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.7283, allocations: 87.31 kB / 0.7573 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.7283, allocations: 0 / 0.7573 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.7283, allocations: 0 / 0.7573 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.7283, allocations: 4 kB / 0.7573 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.7285, allocations: 47.91 kB / 0.7574 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.7289, allocations: 246.4 kB / 0.7576 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.7291, allocations: 85.17 kB / 0.7577 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.7292, allocations: 4 kB / 0.7577 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.7295, allocations: 117.1 kB / 0.7578 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.7295, allocations: 0 / 0.7578 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.0007101/0.7302, allocations: 360.1 kB / 0.7581 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7303, allocations: 93.03 kB / 0.7582 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.7305, allocations: 136.8 kB / 0.7584 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.7306, allocations: 33.7 kB / 0.7584 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.7307, allocations: 104.6 kB / 0.7585 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.7308, allocations: 39.53 kB / 0.7585 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.7308, allocations: 4 kB / 0.7585 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002637/0.7311, allocations: 326.8 kB / 0.7589 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.7312, allocations: 44.16 kB / 0.7589 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.7316, allocations: 216.8 kB / 0.7591 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.7317, allocations: 64.44 kB / 0.7592 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7317, allocations: 3.938 kB / 0.7592 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003074/0.732, allocations: 169.4 kB / 0.7593 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.7321, allocations: 4 kB / 0.7593 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/0.7321, allocations: 4 kB / 0.7593 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.7322, allocations: 4 kB / 0.7593 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.7323, allocations: 15.89 kB / 0.7594 GB, free: 1.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.7323, allocations: 4 kB / 0.7594 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.7326, allocations: 79.91 kB / 0.7594 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.7327, allocations: 11.98 kB / 0.7594 GB, free: 1.137 MB / 0.5261 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 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.7329, allocations: 144.3 kB / 0.7596 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.7329, allocations: 15.81 kB / 0.7596 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.791e-05/0.733, allocations: 12.7 kB / 0.7596 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.7331, allocations: 4 kB / 0.7596 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.7331, allocations: 4.047 kB / 0.7596 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.7331, allocations: 3.984 kB / 0.7596 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.7334, allocations: 193.6 kB / 0.7598 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7334, allocations: 0 / 0.7598 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.7334, allocations: 15.92 kB / 0.7598 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7334, allocations: 0 / 0.7598 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.7335, allocations: 8 kB / 0.7598 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.7335, allocations: 0 / 0.7598 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7335, allocations: 3.938 kB / 0.7598 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.7339, allocations: 205.9 kB / 0.76 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.734, allocations: 84.92 kB / 0.7601 GB, free: 364 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.734, allocations: 8 kB / 0.7601 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.7341, allocations: 11.98 kB / 0.7601 GB, free: 344 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.7342, allocations: 3.953 kB / 0.7601 GB, free: 340 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.7342, allocations: 11.94 kB / 0.7601 GB, free: 328 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001215/0.7343, allocations: 111.2 kB / 0.7603 GB, free: 216 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7343, allocations: 4 kB / 0.7603 GB, free: 212 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005089/0.7348, allocations: 83.86 kB / 0.7603 GB, free: 128 kB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004518/0.7353, allocations: 171.1 kB / 0.7605 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.7357, allocations: 167.3 kB / 0.7607 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7357, allocations: 0 / 0.7607 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.7358, allocations: 39.98 kB / 0.7607 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.736, allocations: 8 kB / 0.7607 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.7366, allocations: 246.7 kB / 0.7609 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.7371, allocations: 0.7083 MB / 0.7616 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.179e-05/0.7372, allocations: 12.66 kB / 0.7616 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.7372, allocations: 11.44 kB / 0.7617 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of SimCode: time 5.61e-07/0.7372, allocations: 0 / 0.7617 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of Templates: time 0.006055/0.7433, allocations: 2.299 MB / 0.7639 GB, free: 12.43 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (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)