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.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 107.7 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 187 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7831/0.7831, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 65.12 kB / 0.582 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1406, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002499/0.1432, allocations: 1.402 MB / 0.6617 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008592/0.144, allocations: 0.5021 MB / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.1441, allocations: 4 kB / 0.6622 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.316e-05/0.1442, allocations: 3.938 kB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.1443, allocations: 11.92 kB / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007678/0.145, allocations: 223.4 kB / 0.6624 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1453, allocations: 155.7 kB / 0.6625 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.046e-05/0.1453, allocations: 4 kB / 0.6625 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.1454, allocations: 55.91 kB / 0.6626 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.1455, allocations: 35.84 kB / 0.6626 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1455, allocations: 12 kB / 0.6626 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.1458, allocations: 175.8 kB / 0.6628 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.1459, allocations: 35.91 kB / 0.6628 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.146, allocations: 51.78 kB / 0.6629 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.1463, allocations: 231.5 kB / 0.6631 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1463, allocations: 0 / 0.6631 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1463, allocations: 11.94 kB / 0.6631 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.1463, allocations: 0 / 0.6631 GB, free: 7.387 MB / 0.4981 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.0005222/0.1468, allocations: 447 kB / 0.6636 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1469, allocations: 8.031 kB / 0.6636 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.1469, allocations: 16.83 kB / 0.6636 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1471, allocations: 210.3 kB / 0.6638 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1471, allocations: 8.375 kB / 0.6638 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.1472, allocations: 12.38 kB / 0.6638 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1473, allocations: 86.62 kB / 0.6639 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1473, allocations: 192 / 0.6639 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1474, allocations: 7.938 kB / 0.6639 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1474, allocations: 3.984 kB / 0.6639 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.866e-05/0.1474, allocations: 35.98 kB / 0.6639 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.1477, allocations: 230.5 kB / 0.6641 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.1478, allocations: 85.19 kB / 0.6642 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.1479, allocations: 49.81 kB / 0.6643 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.1479, allocations: 4 kB / 0.6643 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.1481, allocations: 116 kB / 0.6644 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 3.406e-06/0.1481, allocations: 4 kB / 0.6644 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0003165/0.1484, allocations: 201.3 kB / 0.6646 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.1485, allocations: 81.11 kB / 0.6647 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1486, allocations: 151.9 kB / 0.6648 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.1486, allocations: 33.7 kB / 0.6648 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.1487, allocations: 100.5 kB / 0.6649 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.1487, allocations: 31.56 kB / 0.665 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.1488, allocations: 53.69 kB / 0.665 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1489, allocations: 326.8 kB / 0.6653 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.149, allocations: 43.98 kB / 0.6654 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1492, allocations: 196.3 kB / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1493, allocations: 97.69 kB / 0.6656 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1493, allocations: 0 / 0.6656 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002137/0.1496, allocations: 172.3 kB / 0.6658 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1496, allocations: 7.984 kB / 0.6658 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.1496, allocations: 4 kB / 0.6658 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1496, allocations: 0 / 0.6658 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.515e-05/0.1497, allocations: 8 kB / 0.6658 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1497, allocations: 0 / 0.6658 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.15, allocations: 79.75 kB / 0.6659 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.15, allocations: 4 kB / 0.6659 GB, free: 4.219 MB / 0.4981 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.0001072/0.1501, allocations: 142.8 kB / 0.666 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.1501, allocations: 11.84 kB / 0.6661 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.1502, allocations: 20.7 kB / 0.6661 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1502, allocations: 3.938 kB / 0.6661 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1502, allocations: 7.938 kB / 0.6661 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1502, allocations: 0 / 0.6661 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1503, allocations: 189.5 kB / 0.6663 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1503, allocations: 3.938 kB / 0.6663 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.1504, allocations: 8 kB / 0.6663 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1504, allocations: 4 kB / 0.6663 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1504, allocations: 0 / 0.6663 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1504, allocations: 4 kB / 0.6663 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1504, allocations: 0.625 kB / 0.6663 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.1506, allocations: 177.8 kB / 0.6665 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.1507, allocations: 92.89 kB / 0.6665 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1507, allocations: 11.98 kB / 0.6666 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.1507, allocations: 4 kB / 0.6666 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.1508, allocations: 4 kB / 0.6666 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1508, allocations: 7.984 kB / 0.6666 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.105e-05/0.1509, allocations: 115.2 kB / 0.6667 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1509, allocations: 0 / 0.6667 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002735/0.1512, allocations: 68 kB / 0.6667 GB, free: 3.254 MB / 0.4981 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.0002199/0.1514, allocations: 163.7 kB / 0.6669 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.1516, allocations: 167.4 kB / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1516, allocations: 7.938 kB / 0.6671 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-05/0.1517, allocations: 47.92 kB / 0.6671 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.1519, allocations: 11.94 kB / 0.6671 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.1523, allocations: 253 kB / 0.6674 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.1525, allocations: 0.7002 MB / 0.6681 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.1525, allocations: 19.44 kB / 0.6681 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1525, allocations: 0 / 0.6681 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of Templates: time 0.003914/0.1565, allocations: 2.457 MB / 0.6705 GB, free: 15.38 MB / 0.5137 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)