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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9857/0.9857, allocations: 175.7 MB / 480.1 MB, free: 2.758 MB / 366.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-master/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_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 79.28 kB / 0.6677 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1561, allocations: 94.53 MB / 0.76 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.00228/0.1584, allocations: 1.421 MB / 0.7614 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000868/0.1593, allocations: 0.4966 MB / 0.7619 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.1593, allocations: 0 / 0.7619 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.951e-05/0.1594, allocations: 7.875 kB / 0.7619 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.1594, allocations: 15.86 kB / 0.7619 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.1601, allocations: 230.6 kB / 0.7622 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.1603, allocations: 143.7 kB / 0.7623 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.1603, allocations: 11.92 kB / 0.7623 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.827e-05/0.1604, allocations: 59.89 kB / 0.7624 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.1605, allocations: 47.83 kB / 0.7624 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.1605, allocations: 8 kB / 0.7624 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.1608, allocations: 167.8 kB / 0.7626 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.1608, allocations: 39.89 kB / 0.7626 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.1609, allocations: 47.73 kB / 0.7627 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.1612, allocations: 239.2 kB / 0.7629 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1612, allocations: 0 / 0.7629 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1612, allocations: 0 / 0.7629 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1612, allocations: 0 / 0.7629 GB, free: 13.87 MB / 0.5762 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.0005623/0.1618, allocations: 458.7 kB / 0.7633 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1618, allocations: 8.031 kB / 0.7633 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.1619, allocations: 34.75 kB / 0.7634 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.1619, allocations: 8.891 kB / 0.7634 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1621, allocations: 217.4 kB / 0.7636 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1621, allocations: 8.375 kB / 0.7636 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1622, allocations: 8.375 kB / 0.7636 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1623, allocations: 83.89 kB / 0.7637 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1623, allocations: 11.88 kB / 0.7637 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.1623, allocations: 0 / 0.7637 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1623, allocations: 0 / 0.7637 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.1624, allocations: 39.97 kB / 0.7637 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.1627, allocations: 230.5 kB / 0.7639 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1628, allocations: 77.17 kB / 0.764 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.165e-05/0.1628, allocations: 53.81 kB / 0.7641 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.1628, allocations: 0 / 0.7641 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.1631, allocations: 120.9 kB / 0.7642 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.1631, allocations: 0 / 0.7642 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003182/0.1634, allocations: 177.5 kB / 0.7644 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.1634, allocations: 93.09 kB / 0.7644 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1636, allocations: 152.2 kB / 0.7646 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.1636, allocations: 33.7 kB / 0.7646 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.1637, allocations: 100.5 kB / 0.7647 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.1637, allocations: 35.69 kB / 0.7648 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.1638, allocations: 53.69 kB / 0.7648 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1639, allocations: 330.8 kB / 0.7651 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.696e-05/0.164, allocations: 39.98 kB / 0.7652 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1642, allocations: 203.3 kB / 0.7654 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1644, allocations: 105.6 kB / 0.7655 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1644, allocations: 0 / 0.7655 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002251/0.1646, allocations: 165.4 kB / 0.7656 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1646, allocations: 4 kB / 0.7656 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.1646, allocations: 7.984 kB / 0.7656 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1646, allocations: 0 / 0.7656 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.1647, allocations: 8 kB / 0.7656 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1647, allocations: 4 kB / 0.7656 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.165, allocations: 79.8 kB / 0.7657 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.165, allocations: 4 kB / 0.7657 GB, free: 10.64 MB / 0.5762 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.0001135/0.1651, allocations: 142.9 kB / 0.7658 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.1651, allocations: 19.89 kB / 0.7659 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.1651, allocations: 8.719 kB / 0.7659 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1651, allocations: 7.984 kB / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1651, allocations: 0 / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1652, allocations: 0 / 0.7659 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.1653, allocations: 193.5 kB / 0.7661 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1653, allocations: 4 kB / 0.7661 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.1653, allocations: 7.984 kB / 0.7661 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1653, allocations: 0 / 0.7661 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1654, allocations: 4 kB / 0.7661 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1654, allocations: 0 / 0.7661 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1654, allocations: 4 kB / 0.7661 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1656, allocations: 193 kB / 0.7663 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.1656, allocations: 96.89 kB / 0.7664 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1657, allocations: 0 / 0.7664 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.421e-05/0.1657, allocations: 11.98 kB / 0.7664 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.1657, allocations: 0 / 0.7664 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1657, allocations: 8 kB / 0.7664 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.418e-05/0.1658, allocations: 115.2 kB / 0.7665 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1658, allocations: 0 / 0.7665 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000271/0.1661, allocations: 71.86 kB / 0.7666 GB, free: 9.672 MB / 0.5762 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.0006476/0.1667, allocations: 0.777 MB / 0.7673 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.167, allocations: 152.2 kB / 0.7675 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.167, allocations: 0 / 0.7675 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/0.1671, allocations: 39.98 kB / 0.7675 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.1672, allocations: 7.688 kB / 0.7675 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.1689, allocations: 1.73 MB / 0.7692 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1692, allocations: 0.7118 MB / 0.7699 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.1692, allocations: 8.672 kB / 0.7699 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.1693, allocations: 27.42 kB / 0.7699 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1693, allocations: 0 / 0.7699 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.1953, allocations: 3.965 MB / 0.7738 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.343, allocations: 18.89 kB / 0.7738 GB, free: 2.191 MB / 0.5762 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.70460820500739]