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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007455/0.007455, allocations: 99.03 kB / 15.73 MB, free: 6.039 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.001737/0.001737, allocations: 187.5 kB / 16.67 MB, free: 5.969 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7286/0.7286, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 62.39 kB / 0.5808 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1468, allocations: 80.22 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002247/0.1491, allocations: 1.391 MB / 0.6605 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007725/0.1499, allocations: 0.4982 MB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.1499, allocations: 0 / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.199e-05/0.15, allocations: 11.88 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.1501, allocations: 11.91 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006528/0.1507, allocations: 236.4 kB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1509, allocations: 143.7 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.151, allocations: 11.98 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.151, allocations: 59.89 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.1511, allocations: 39.84 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1512, allocations: 8 kB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.1514, allocations: 167.8 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.1515, allocations: 39.89 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/0.1515, allocations: 51.73 kB / 0.6618 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.1518, allocations: 234.3 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1518, allocations: 4 kB / 0.662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1518, allocations: 0 / 0.662 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1519, allocations: 0 / 0.662 GB, free: 11.11 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.0005122/0.1524, allocations: 451.8 kB / 0.6624 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1524, allocations: 12.03 kB / 0.6624 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.1525, allocations: 34.73 kB / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.1525, allocations: 12.84 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.1527, allocations: 208.1 kB / 0.6627 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1527, allocations: 8.375 kB / 0.6627 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1527, allocations: 16.38 kB / 0.6627 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1529, allocations: 83.88 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1529, allocations: 7.938 kB / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1529, allocations: 0 / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1529, allocations: 0 / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.795e-05/0.153, allocations: 35.98 kB / 0.6628 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.1532, allocations: 230.5 kB / 0.663 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1533, allocations: 85.19 kB / 0.6631 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.1534, allocations: 57.8 kB / 0.6632 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.1534, allocations: 0 / 0.6632 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.1536, allocations: 116.2 kB / 0.6633 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 9.81e-07/0.1536, allocations: 0 / 0.6633 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0002998/0.1539, allocations: 201.8 kB / 0.6635 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.154, allocations: 89.05 kB / 0.6636 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1541, allocations: 152.2 kB / 0.6637 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1541, allocations: 33.7 kB / 0.6637 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.1542, allocations: 100.5 kB / 0.6638 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.1542, allocations: 35.55 kB / 0.6639 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.1543, allocations: 49.7 kB / 0.6639 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.1544, allocations: 326.8 kB / 0.6642 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.1545, allocations: 43.98 kB / 0.6643 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.1546, allocations: 199.3 kB / 0.6645 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1548, allocations: 93.53 kB / 0.6645 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1548, allocations: 0 / 0.6645 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002019/0.155, allocations: 173.3 kB / 0.6647 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.155, allocations: 4 kB / 0.6647 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.155, allocations: 4 kB / 0.6647 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.155, allocations: 0 / 0.6647 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.1551, allocations: 12 kB / 0.6647 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1551, allocations: 0 / 0.6647 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.1554, allocations: 79.73 kB / 0.6648 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1554, allocations: 8 kB / 0.6648 GB, free: 7.887 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 9.561e-05/0.1555, allocations: 129.8 kB / 0.6649 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.1555, allocations: 15.83 kB / 0.665 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.1556, allocations: 12.72 kB / 0.665 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1556, allocations: 4 kB / 0.665 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1556, allocations: 3.938 kB / 0.665 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1556, allocations: 0 / 0.665 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.1557, allocations: 193.6 kB / 0.6652 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1557, allocations: 8 kB / 0.6652 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.1557, allocations: 8 kB / 0.6652 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1558, allocations: 0 / 0.6652 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1558, allocations: 0 / 0.6652 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1558, allocations: 4 kB / 0.6652 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1558, allocations: 0 / 0.6652 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.156, allocations: 185.6 kB / 0.6654 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.156, allocations: 88.95 kB / 0.6654 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.156, allocations: 8 kB / 0.6654 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.1561, allocations: 4 kB / 0.6655 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1561, allocations: 7.984 kB / 0.6655 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.1561, allocations: 4 kB / 0.6655 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.231e-05/0.1562, allocations: 113.5 kB / 0.6656 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1562, allocations: 0 / 0.6656 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002778/0.1565, allocations: 72 kB / 0.6656 GB, free: 6.938 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.0005192/0.157, allocations: 0.7937 MB / 0.6664 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.1573, allocations: 163.3 kB / 0.6666 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1573, allocations: 0 / 0.6666 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.1573, allocations: 47.92 kB / 0.6666 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.1575, allocations: 7.984 kB / 0.6666 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1589, allocations: 1.714 MB / 0.6683 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1591, allocations: 0.7079 MB / 0.669 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.1592, allocations: 16.92 kB / 0.669 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.1592, allocations: 23.44 kB / 0.669 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1592, allocations: 0 / 0.669 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.1787, allocations: 4.007 MB / 0.6729 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.446, allocations: 6.172 kB / 0.6729 GB, free: 15.44 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)