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.001597/0.001597, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001806/0.001806, allocations: 213 kB / 22.99 MB, free: 4.945 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8626/0.8626, allocations: 134 MB / 447.2 MB, free: 9.973 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: translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [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.002058/0.002058, allocations: 71.5 kB / 0.6197 GB, free: 6.438 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1757, allocations: 85.91 MB / 0.7036 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002762/0.1784, allocations: 1.42 MB / 0.705 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000968/0.1794, allocations: 470.4 kB / 0.7054 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.1794, allocations: 0 / 0.7054 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.893e-05/0.1795, allocations: 11.92 kB / 0.7054 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.1796, allocations: 3.938 kB / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007709/0.1803, allocations: 247.1 kB / 0.7057 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1806, allocations: 147.8 kB / 0.7058 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.1806, allocations: 4 kB / 0.7058 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.1807, allocations: 63.89 kB / 0.7059 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.1808, allocations: 35.78 kB / 0.7059 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.1808, allocations: 12 kB / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.1811, allocations: 191.8 kB / 0.7061 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.1812, allocations: 35.89 kB / 0.7061 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.1813, allocations: 39.86 kB / 0.7062 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.1816, allocations: 243.2 kB / 0.7064 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1816, allocations: 0 / 0.7064 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1816, allocations: 0 / 0.7064 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1816, allocations: 0 / 0.7064 GB, free: 13.71 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.0006528/0.1823, allocations: 381.5 kB / 0.7068 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1823, allocations: 8.031 kB / 0.7068 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.1824, allocations: 12.89 kB / 0.7068 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1826, allocations: 154.3 kB / 0.7069 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1827, allocations: 8.312 kB / 0.7069 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.1827, allocations: 12.38 kB / 0.7069 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1829, allocations: 79.95 kB / 0.707 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1829, allocations: 4.172 kB / 0.707 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1829, allocations: 3.938 kB / 0.707 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1829, allocations: 4 kB / 0.707 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.183, allocations: 39.92 kB / 0.7071 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.1832, allocations: 162.2 kB / 0.7072 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1833, allocations: 73.23 kB / 0.7073 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.1834, allocations: 49.81 kB / 0.7073 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1834, allocations: 3.938 kB / 0.7074 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1837, allocations: 121 kB / 0.7075 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1837, allocations: 0 / 0.7075 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0003829/0.1841, allocations: 189.4 kB / 0.7076 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.1841, allocations: 81.11 kB / 0.7077 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1843, allocations: 159.7 kB / 0.7079 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.1843, allocations: 33.7 kB / 0.7079 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.1844, allocations: 108.4 kB / 0.708 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.1845, allocations: 35.73 kB / 0.708 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.1846, allocations: 53.69 kB / 0.7081 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1847, allocations: 322.8 kB / 0.7084 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.1848, allocations: 39.98 kB / 0.7084 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.1853, allocations: 0.6016 MB / 0.709 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1855, allocations: 96.59 kB / 0.7091 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1855, allocations: 0 / 0.7091 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002469/0.1857, allocations: 161.5 kB / 0.7093 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1857, allocations: 13.97 kB / 0.7093 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.1857, allocations: 0 / 0.7093 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1858, allocations: 4 kB / 0.7093 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.1858, allocations: 7.938 kB / 0.7093 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1859, allocations: 7.984 kB / 0.7093 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.1861, allocations: 79.73 kB / 0.7094 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1862, allocations: 8 kB / 0.7094 GB, free: 10.27 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.0001342/0.1863, allocations: 129.8 kB / 0.7095 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.1863, allocations: 15.88 kB / 0.7095 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.1864, allocations: 12.72 kB / 0.7095 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1864, allocations: 0 / 0.7095 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1864, allocations: 0 / 0.7095 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1864, allocations: 4 kB / 0.7095 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.1865, allocations: 133.2 kB / 0.7097 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1865, allocations: 0 / 0.7097 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.1866, allocations: 16 kB / 0.7097 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1866, allocations: 7.875 kB / 0.7097 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.1866, allocations: 11.92 kB / 0.7097 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1866, allocations: 0 / 0.7097 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1866, allocations: 0 / 0.7097 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1868, allocations: 169.9 kB / 0.7099 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.1868, allocations: 11.91 kB / 0.7099 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1869, allocations: 7.938 kB / 0.7099 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.1869, allocations: 8 kB / 0.7099 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.1869, allocations: 8.078 kB / 0.7099 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.187, allocations: 4 kB / 0.7099 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001021/0.1871, allocations: 113.5 kB / 0.71 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1871, allocations: 0 / 0.71 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003026/0.1874, allocations: 79.8 kB / 0.7101 GB, free: 9.496 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.0002779/0.1876, allocations: 170.9 kB / 0.7103 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.1879, allocations: 163.3 kB / 0.7104 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1879, allocations: 0 / 0.7104 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.996e-05/0.188, allocations: 39.98 kB / 0.7105 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.1882, allocations: 8 kB / 0.7105 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/0.1886, allocations: 249 kB / 0.7107 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.771e-05/0.1887, allocations: 96.84 kB / 0.7108 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.1888, allocations: 15.44 kB / 0.7108 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1888, allocations: 0 / 0.7108 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of Templates: time 0.004818/0.1936, allocations: 2.468 MB / 0.7132 GB, free: 6.242 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.028395482338965] Failed to read output from testmodel.py, exit status != 0: 0.20119997439906 0.21723561900000002 0.032508521 Calling exit ...