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.001787/0.001787, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002198/0.002198, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8016/0.8016, allocations: 134 MB / 447.2 MB, free: 9.98 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.001887/0.001887, allocations: 71.95 kB / 0.6192 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1749, allocations: 85.91 MB / 0.7031 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002609/0.1775, allocations: 1.412 MB / 0.7045 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.1784, allocations: 474.3 kB / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.1784, allocations: 0 / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.057e-05/0.1785, allocations: 3.938 kB / 0.705 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.1786, allocations: 11.92 kB / 0.705 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.1793, allocations: 246.6 kB / 0.7052 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.1795, allocations: 147.7 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.1795, allocations: 7.984 kB / 0.7053 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.1796, allocations: 55.91 kB / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.144e-05/0.1797, allocations: 43.83 kB / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1797, allocations: 8 kB / 0.7055 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.18, allocations: 199.8 kB / 0.7056 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.346e-05/0.1801, allocations: 39.91 kB / 0.7057 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.1802, allocations: 43.84 kB / 0.7057 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1805, allocations: 227.6 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1805, allocations: 4 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1805, allocations: 3.938 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.1806, allocations: 0 / 0.7059 GB, free: 14.2 MB / 0.5294 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.0005708/0.1811, allocations: 377.5 kB / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1812, allocations: 15.97 kB / 0.7063 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.632e-05/0.1812, allocations: 8.172 kB / 0.7063 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.1812, allocations: 38.75 kB / 0.7064 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.1813, allocations: 12.89 kB / 0.7064 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1815, allocations: 146.4 kB / 0.7065 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1815, allocations: 4.375 kB / 0.7065 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.1815, allocations: 20.38 kB / 0.7065 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1817, allocations: 87.62 kB / 0.7066 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1817, allocations: 4 kB / 0.7066 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1817, allocations: 0 / 0.7066 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1817, allocations: 0 / 0.7066 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.912e-05/0.1818, allocations: 39.97 kB / 0.7067 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.182, allocations: 181.6 kB / 0.7068 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1822, allocations: 73.14 kB / 0.7069 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.308e-05/0.1822, allocations: 57.84 kB / 0.707 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.1822, allocations: 0 / 0.707 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.1825, allocations: 124.9 kB / 0.7071 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.1825, allocations: 0 / 0.7071 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0003443/0.1828, allocations: 181.6 kB / 0.7073 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.1829, allocations: 89.05 kB / 0.7073 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.183, allocations: 156 kB / 0.7075 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.1831, allocations: 33.7 kB / 0.7075 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.1832, allocations: 108.4 kB / 0.7076 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.1832, allocations: 39.66 kB / 0.7077 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.1833, allocations: 49.7 kB / 0.7077 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1834, allocations: 326.8 kB / 0.708 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.946e-05/0.1835, allocations: 43.98 kB / 0.7081 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.184, allocations: 0.6006 MB / 0.7087 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.1842, allocations: 97.58 kB / 0.7087 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1842, allocations: 0 / 0.7087 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002359/0.1844, allocations: 165 kB / 0.7089 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1844, allocations: 10.34 kB / 0.7089 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.1844, allocations: 3.938 kB / 0.7089 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.1844, allocations: 7.984 kB / 0.7089 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.1845, allocations: 4 kB / 0.7089 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1845, allocations: 4 kB / 0.7089 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.1848, allocations: 75.8 kB / 0.709 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1848, allocations: 4 kB / 0.709 GB, free: 10.68 MB / 0.5294 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.0001217/0.1849, allocations: 137.7 kB / 0.7091 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.1849, allocations: 15.95 kB / 0.7092 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.185, allocations: 16.72 kB / 0.7092 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.185, allocations: 0 / 0.7092 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.185, allocations: 0 / 0.7092 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.185, allocations: 3.984 kB / 0.7092 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1851, allocations: 164.6 kB / 0.7093 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1851, allocations: 0 / 0.7093 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.1852, allocations: 4 kB / 0.7093 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1852, allocations: 4 kB / 0.7093 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1852, allocations: 4 kB / 0.7093 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1852, allocations: 4 kB / 0.7093 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1852, allocations: 0 / 0.7093 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1854, allocations: 185.8 kB / 0.7095 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.1854, allocations: 12 kB / 0.7095 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1855, allocations: 0 / 0.7095 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.495e-05/0.1855, allocations: 11.98 kB / 0.7095 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.1855, allocations: 7.984 kB / 0.7096 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.1856, allocations: 0 / 0.7096 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.481e-05/0.1856, allocations: 115.2 kB / 0.7097 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1856, allocations: 0 / 0.7097 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002868/0.1859, allocations: 79.8 kB / 0.7097 GB, free: 9.852 MB / 0.5294 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.0007059/0.1866, allocations: 0.7841 MB / 0.7105 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.1869, allocations: 155.3 kB / 0.7107 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1869, allocations: 4 kB / 0.7107 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.494e-05/0.187, allocations: 35.92 kB / 0.7107 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.1871, allocations: 4 kB / 0.7107 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1889, allocations: 1.714 MB / 0.7124 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.639e-05/0.189, allocations: 96.98 kB / 0.7125 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.1891, allocations: 12.66 kB / 0.7125 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.1891, allocations: 23.44 kB / 0.7125 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.1891, allocations: 0 / 0.7125 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.2142, allocations: 4.351 MB / 0.7167 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.97, allocations: 8.062 kB / 0.7168 GB, free: 2.719 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.447140360949561] Failed to read output from testmodel.py, exit status != 0: 11.127122399979271 11.154266575 10.968532266 Calling exit ...