Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Sources.Examples.DayType.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 101 kB / 16.27 MB, free: 6.418 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.001919/0.001919, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.3 MB / 0.5495 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 74.86 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2525, allocations: 114.5 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.003246/0.2558, allocations: 1.42 MB / 0.7854 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006885/0.2566, allocations: 279.1 kB / 0.7857 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.2566, allocations: 4 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.2568, allocations: 7.875 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.855e-05/0.2569, allocations: 27.78 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.2572, allocations: 83.84 kB / 0.7858 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.2575, allocations: 232 kB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.546e-05/0.2576, allocations: 17.05 kB / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.525e-05/0.2577, allocations: 87.75 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2579, allocations: 103.7 kB / 0.7862 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.2579, allocations: 20 kB / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.402e-05/0.2579, allocations: 16 kB / 0.7862 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.2581, allocations: 87.78 kB / 0.7863 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.2582, allocations: 99.39 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.2585, allocations: 259.4 kB / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2585, allocations: 0 / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2585, allocations: 0 / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2585, allocations: 0 / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001037/0.2595, allocations: 0.6901 MB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2596, allocations: 12.03 kB / 0.7874 GB, free: 356 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.63e-05/0.2597, allocations: 32.5 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.26, allocations: 250.9 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.26, allocations: 16.66 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.2601, allocations: 16.38 kB / 0.7877 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.381/0.641, allocations: 467.1 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.6411, allocations: 3 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.6411, allocations: 3 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.6411, allocations: 3.188 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.6415, allocations: 322.5 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.6421, allocations: 0.5704 MB / 0.789 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.6432, allocations: 1.03 MB / 0.79 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.6438, allocations: 0.6615 MB / 0.7906 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.6438, allocations: 8.125 kB / 0.7906 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/0.6444, allocations: 480 kB / 0.7911 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.6445, allocations: 0.5 kB / 0.7911 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.001228/0.6457, allocations: 1.117 MB / 0.7922 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.6458, allocations: 143 kB / 0.7923 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.646, allocations: 251.4 kB / 0.7926 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.646, allocations: 38.36 kB / 0.7926 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.6461, allocations: 125.3 kB / 0.7927 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.6461, allocations: 73.81 kB / 0.7928 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.6463, allocations: 116.3 kB / 0.7929 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.6463, allocations: 337.1 kB / 0.7932 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.6467, allocations: 330.6 kB / 0.7935 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.647, allocations: 423.9 kB / 0.7939 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.6478, allocations: 0.7687 MB / 0.7947 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6478, allocations: 11.5 kB / 0.7947 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009649/0.6487, allocations: 0.8237 MB / 0.7955 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6488, allocations: 7.375 kB / 0.7955 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6488, allocations: 2.375 kB / 0.7955 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.6488, allocations: 8.594 kB / 0.7955 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.649, allocations: 48.53 kB / 0.7956 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.649, allocations: 12.48 kB / 0.7956 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.6492, allocations: 29.58 kB / 0.7956 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/0.6495, allocations: 264.9 kB / 0.7959 GB, free: 47.05 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 (dayTypMonThr.skipIDayIncrement,$PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.iDay,$PRE.dayTypMonThr.iDay,dayTypMonThr.y[3],dayTypMonThr.y[2],dayTypMonThr.y[1],dayTypTwoWeeks.skipIDayIncrement,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.iDay,$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.y[14],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[1],dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],dayTypMon.skipIDayIncrement,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.iDay,$PRE.dayTypMon.iDay,dayTypMon.y[2],dayTypMon.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001722/0.6497, allocations: 195.1 kB / 0.796 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.6498, allocations: 29.52 kB / 0.7961 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.916e-05/0.6498, allocations: 36.06 kB / 0.7961 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.6499, allocations: 7.688 kB / 0.7961 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6499, allocations: 2.375 kB / 0.7961 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.6499, allocations: 1.312 kB / 0.7961 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.6518, allocations: 1.715 MB / 0.7978 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6518, allocations: 4.859 kB / 0.7978 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.6519, allocations: 26.11 kB / 0.7978 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.6519, allocations: 2.281 kB / 0.7978 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.6519, allocations: 20.09 kB / 0.7978 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.652, allocations: 7.125 kB / 0.7979 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.652, allocations: 4.625 kB / 0.7979 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.653, allocations: 1.117 MB / 0.7989 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.6531, allocations: 107.9 kB / 0.7991 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.6532, allocations: 14.47 kB / 0.7991 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.6534, allocations: 8.219 kB / 0.7991 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.6535, allocations: 51.36 kB / 0.7991 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003692/0.6539, allocations: 279.2 kB / 0.7994 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000161/0.6541, allocations: 175.4 kB / 0.7996 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6541, allocations: 0 / 0.7996 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004895/0.6546, allocations: 63.03 kB / 0.7996 GB, free: 45.7 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001475/0.6547, allocations: 137.6 kB / 0.7997 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.6559, allocations: 0.7758 MB / 0.8005 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.656, allocations: 0 / 0.8005 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005853/0.6566, allocations: 397 kB / 0.8009 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.6583, allocations: 367.3 kB / 0.8012 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.6598, allocations: 1.006 MB / 0.8022 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.66, allocations: 0.7537 MB / 0.803 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.6602, allocations: 71.16 kB / 0.803 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of SimCode: time 6.92e-07/0.6602, allocations: 0 / 0.803 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.008925/0.6691, allocations: 4.491 MB / 0.8074 GB, free: 43.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_8_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_8_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)