Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 176.9 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 0.5786 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008359/0.0008358, allocations: 94.73 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 9.438 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.222, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.00161/0.2237, allocations: 1.146 MB / 0.9026 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005189/0.2242, allocations: 271.2 kB / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.2243, allocations: 0 / 0.9028 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.2244, allocations: 7.922 kB / 0.9028 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.089e-05/0.2245, allocations: 27.84 kB / 0.9029 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.2248, allocations: 75.88 kB / 0.9029 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000217/0.225, allocations: 220 kB / 0.9031 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.2251, allocations: 13.11 kB / 0.9032 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.942e-05/0.2251, allocations: 71.81 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.2253, allocations: 103.7 kB / 0.9033 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.2253, allocations: 8 kB / 0.9033 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.268e-05/0.2253, allocations: 8 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.959e-05/0.2254, allocations: 87.72 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.2256, allocations: 129.1 kB / 0.9035 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.2257, allocations: 175.7 kB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2257, allocations: 0 / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2257, allocations: 0 / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2257, allocations: 0 / 0.9037 GB, free: 61.2 MB / 0.6042 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.0008303/0.2266, allocations: 0.6203 MB / 0.9043 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2266, allocations: 12.03 kB / 0.9043 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.2267, allocations: 28.64 kB / 0.9044 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.2269, allocations: 266.7 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.227, allocations: 16.66 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.227, allocations: 20.36 kB / 0.9046 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.2275, allocations: 455.3 kB / 0.9051 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2276, allocations: 8.125 kB / 0.9051 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.2276, allocations: 7.938 kB / 0.9051 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.2276, allocations: 4 kB / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.2279, allocations: 323.8 kB / 0.9054 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.2284, allocations: 0.5663 MB / 0.906 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.2293, allocations: 1.028 MB / 0.907 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/0.2299, allocations: 0.661 MB / 0.9076 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2299, allocations: 4 kB / 0.9076 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004715/0.2304, allocations: 482.3 kB / 0.9081 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.2304, allocations: 0 / 0.9081 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001159/0.2316, allocations: 1.122 MB / 0.9092 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.2316, allocations: 140.5 kB / 0.9093 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.2318, allocations: 260.8 kB / 0.9095 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2318, allocations: 37.7 kB / 0.9096 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.2319, allocations: 125.1 kB / 0.9097 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.2319, allocations: 86.88 kB / 0.9098 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.232, allocations: 4 kB / 0.9098 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.232, allocations: 342.8 kB / 0.9101 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.2323, allocations: 332.7 kB / 0.9104 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.2327, allocations: 426.5 kB / 0.9108 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006471/0.2333, allocations: 0.7609 MB / 0.9116 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2333, allocations: 0 / 0.9116 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007686/0.2341, allocations: 0.8367 MB / 0.9124 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2341, allocations: 7.938 kB / 0.9124 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2342, allocations: 4 kB / 0.9124 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.2342, allocations: 4 kB / 0.9124 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2343, allocations: 43.89 kB / 0.9125 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2343, allocations: 4 kB / 0.9125 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.2346, allocations: 27.75 kB / 0.9125 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.2348, allocations: 275.5 kB / 0.9128 GB, free: 51.53 MB / 0.6042 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 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,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],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * 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.0001486/0.235, allocations: 193.7 kB / 0.9129 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.235, allocations: 31.66 kB / 0.913 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.2351, allocations: 38.17 kB / 0.913 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2351, allocations: 7.938 kB / 0.913 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2351, allocations: 0 / 0.913 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2351, allocations: 4 kB / 0.913 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.2367, allocations: 1.721 MB / 0.9147 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2367, allocations: 0 / 0.9147 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.2367, allocations: 19.97 kB / 0.9147 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/0.2367, allocations: 0 / 0.9147 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.2368, allocations: 23.97 kB / 0.9147 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2368, allocations: 7.938 kB / 0.9147 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2368, allocations: 0 / 0.9147 GB, free: 49.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007941/0.2376, allocations: 1.113 MB / 0.9158 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.2376, allocations: 104.7 kB / 0.9159 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.2377, allocations: 12.14 kB / 0.9159 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.2379, allocations: 11.98 kB / 0.916 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.238, allocations: 59.86 kB / 0.916 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/0.2383, allocations: 283.5 kB / 0.9163 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001098/0.2384, allocations: 176.4 kB / 0.9165 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2384, allocations: 0 / 0.9165 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003962/0.2388, allocations: 60 kB / 0.9165 GB, free: 47.58 MB / 0.6042 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.0001325/0.2389, allocations: 133.2 kB / 0.9166 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007522/0.2397, allocations: 0.7319 MB / 0.9174 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2397, allocations: 4.062 kB / 0.9174 GB, free: 46.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.2401, allocations: 387.7 kB / 0.9177 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.2416, allocations: 343.6 kB / 0.9181 GB, free: 46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.2426, allocations: 1.072 MB / 0.9191 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.2429, allocations: 0.7491 MB / 0.9198 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.243, allocations: 67.38 kB / 0.9199 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.243, allocations: 0 / 0.9199 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.005433/0.2484, allocations: 4.454 MB / 0.9242 GB, free: 39.62 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)