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.001252/0.001252, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001299/0.001299, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.384/1.384, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8333/0.8333, allocations: 133.9 MB / 443.5 MB, free: 13.75 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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="cs",version="2.0",platforms={"static"}) [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.001964/0.001964, allocations: 66.73 kB / 0.6141 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1476, allocations: 85.85 MB / 0.6979 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002519/0.1502, allocations: 1.431 MB / 0.6993 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000928/0.1511, allocations: 0.5031 MB / 0.6998 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.1511, allocations: 0 / 0.6998 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.717e-05/0.1512, allocations: 9.25 kB / 0.6998 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.1513, allocations: 14.61 kB / 0.6998 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.152, allocations: 229.3 kB / 0.7 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1522, allocations: 149.8 kB / 0.7002 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.1522, allocations: 2.75 kB / 0.7002 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.1523, allocations: 56.78 kB / 0.7002 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.1524, allocations: 49.5 kB / 0.7003 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.1524, allocations: 11 kB / 0.7003 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.1527, allocations: 172.5 kB / 0.7005 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.1527, allocations: 37.48 kB / 0.7005 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.1528, allocations: 50.52 kB / 0.7005 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.1531, allocations: 237.9 kB / 0.7008 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1531, allocations: 0 / 0.7008 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1531, allocations: 1.469 kB / 0.7008 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.1531, allocations: 4 kB / 0.7008 GB, free: 11.65 MB / 0.5137 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.0006378/0.1538, allocations: 454 kB / 0.7012 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1538, allocations: 11.27 kB / 0.7012 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.244e-05/0.1538, allocations: 1.812 kB / 0.7012 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.1539, allocations: 35.67 kB / 0.7013 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.1539, allocations: 12.3 kB / 0.7013 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1541, allocations: 209.6 kB / 0.7015 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1542, allocations: 5.5 kB / 0.7015 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1542, allocations: 16.94 kB / 0.7015 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1544, allocations: 90.81 kB / 0.7016 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1544, allocations: 0 / 0.7016 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1544, allocations: 1.344 kB / 0.7016 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1544, allocations: 1.188 kB / 0.7016 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.447e-05/0.1545, allocations: 34.77 kB / 0.7016 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.1547, allocations: 236.5 kB / 0.7018 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1549, allocations: 76.28 kB / 0.7019 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.617e-05/0.1549, allocations: 54.89 kB / 0.702 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.155, allocations: 1.344 kB / 0.702 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.1552, allocations: 110.9 kB / 0.7021 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1552, allocations: 0 / 0.7021 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003519/0.1555, allocations: 184 kB / 0.7022 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.1556, allocations: 89.22 kB / 0.7023 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1557, allocations: 150.1 kB / 0.7025 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1558, allocations: 39.2 kB / 0.7025 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.1558, allocations: 102 kB / 0.7026 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.1559, allocations: 33.23 kB / 0.7026 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.156, allocations: 58.33 kB / 0.7027 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1561, allocations: 330.8 kB / 0.703 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.1562, allocations: 39.98 kB / 0.703 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.1564, allocations: 199.3 kB / 0.7032 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1566, allocations: 97.2 kB / 0.7033 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1566, allocations: 0 / 0.7033 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002489/0.1568, allocations: 169.4 kB / 0.7035 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1568, allocations: 9.25 kB / 0.7035 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.1569, allocations: 3.938 kB / 0.7035 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1569, allocations: 4.094 kB / 0.7035 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.843e-05/0.1569, allocations: 11.98 kB / 0.7035 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1569, allocations: 4 kB / 0.7035 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.1572, allocations: 71.84 kB / 0.7036 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1572, allocations: 8 kB / 0.7036 GB, free: 8.855 MB / 0.5137 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.0001278/0.1574, allocations: 146.3 kB / 0.7037 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.1574, allocations: 11.94 kB / 0.7037 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.1574, allocations: 12.72 kB / 0.7038 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1574, allocations: 0 / 0.7038 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1574, allocations: 0 / 0.7038 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1574, allocations: 0 / 0.7038 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1576, allocations: 205.5 kB / 0.704 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1576, allocations: 0 / 0.704 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.1576, allocations: 8 kB / 0.704 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.1576, allocations: 0 / 0.704 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1577, allocations: 4 kB / 0.704 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1577, allocations: 0 / 0.704 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1577, allocations: 0 / 0.704 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1579, allocations: 185.7 kB / 0.7041 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.158, allocations: 93 kB / 0.7042 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.158, allocations: 4 kB / 0.7042 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.158, allocations: 8 kB / 0.7042 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.1581, allocations: 7.984 kB / 0.7043 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1581, allocations: 0 / 0.7043 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.152e-05/0.1582, allocations: 113.1 kB / 0.7044 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1582, allocations: 0 / 0.7044 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003057/0.1585, allocations: 79.81 kB / 0.7044 GB, free: 7.891 MB / 0.5137 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.0006897/0.1591, allocations: 0.7856 MB / 0.7052 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.1594, allocations: 151.3 kB / 0.7053 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1594, allocations: 4 kB / 0.7054 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.1595, allocations: 35.98 kB / 0.7054 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.1596, allocations: 7.984 kB / 0.7054 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.1615, allocations: 1.718 MB / 0.7071 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1618, allocations: 0.708 MB / 0.7078 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.1619, allocations: 8.656 kB / 0.7078 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.1619, allocations: 27.38 kB / 0.7078 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1619, allocations: 0 / 0.7078 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.183, allocations: 4.028 MB / 0.7117 GB, free: 432 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.066, allocations: 8 kB / 0.7117 GB, free: 424 kB / 0.5137 GB " [Timeout remaining time 652] (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 --stepSize=518.4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.602945931022987] Failed to read output from testmodel.py, exit status != 0: 8.453629338007886 8.226696482 8.069090265 Calling exit ...