Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.3 MB / 303.2 MB, free: 8.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 181 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00092/0.00092, allocations: 94.17 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004253, allocations: 10.97 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2913, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001743/0.2931, allocations: 1.119 MB / 0.9805 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005688/0.2937, allocations: 268.3 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.011e-05/0.2938, allocations: 3.938 kB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.2939, allocations: 7.938 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.294, allocations: 23.95 kB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.2943, allocations: 75.8 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.2946, allocations: 144.2 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.647e-05/0.2946, allocations: 9.125 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.325e-05/0.2947, allocations: 79.81 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2949, allocations: 95.75 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.2949, allocations: 11.94 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.13e-05/0.295, allocations: 8 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.2951, allocations: 79.78 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.2952, allocations: 69.52 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.2954, allocations: 175.9 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2954, allocations: 0 / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.188e-06/0.2954, allocations: 0 / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.2954, allocations: 0 / 0.9815 GB, free: 25.56 MB / 0.6198 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.001049/0.2965, allocations: 0.6276 MB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.2965, allocations: 12.02 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.2966, allocations: 23.72 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.2969, allocations: 261.6 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.297, allocations: 20.25 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.297, allocations: 16 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.2975, allocations: 458.6 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2976, allocations: 4 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.2976, allocations: 8 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2976, allocations: 4 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003232/0.2979, allocations: 327.7 kB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.2985, allocations: 0.5701 MB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/0.2994, allocations: 1.029 MB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.2994, allocations: 12.03 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.3, allocations: 474.4 kB / 0.9852 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 1.482e-06/0.3, allocations: 0 / 0.9852 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.00114/0.3011, allocations: 1.108 MB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.3012, allocations: 148.4 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3014, allocations: 244.9 kB / 0.9867 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3014, allocations: 41.69 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.3015, allocations: 121.1 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.156e-05/0.3016, allocations: 75.14 kB / 0.9869 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.3016, allocations: 12 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.062e-05/0.3017, allocations: 338.8 kB / 0.9872 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.302, allocations: 324.7 kB / 0.9876 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.3023, allocations: 426.5 kB / 0.988 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.3027, allocations: 359.8 kB / 0.9883 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3027, allocations: 0 / 0.9883 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007716/0.3035, allocations: 0.8342 MB / 0.9891 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3035, allocations: 8 kB / 0.9891 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3035, allocations: 8.062 kB / 0.9891 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.3035, allocations: 8 kB / 0.9891 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.3037, allocations: 43.83 kB / 0.9892 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3037, allocations: 4 kB / 0.9892 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.304, allocations: 36.25 kB / 0.9892 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.3042, allocations: 271.4 kB / 0.9895 GB, free: 17.03 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.3044, allocations: 189.7 kB / 0.9897 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.3045, allocations: 31.58 kB / 0.9897 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.27e-05/0.3045, allocations: 38.17 kB / 0.9897 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3046, allocations: 8 kB / 0.9897 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.3046, allocations: 7.938 kB / 0.9897 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3046, allocations: 288 / 0.9897 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.3061, allocations: 1.708 MB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3061, allocations: 4 kB / 0.9914 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.3062, allocations: 31.91 kB / 0.9914 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3062, allocations: 0 / 0.9914 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.3062, allocations: 19.97 kB / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.3062, allocations: 4 kB / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3062, allocations: 0 / 0.9915 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008023/0.307, allocations: 1.157 MB / 0.9926 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.3071, allocations: 108.6 kB / 0.9927 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.3072, allocations: 15.98 kB / 0.9927 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.3074, allocations: 7.953 kB / 0.9927 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.3075, allocations: 47.94 kB / 0.9928 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/0.3077, allocations: 283.4 kB / 0.993 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001103/0.3078, allocations: 176.5 kB / 0.9932 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3079, allocations: 0 / 0.9932 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004117/0.3083, allocations: 64 kB / 0.9933 GB, free: 13.02 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001471/0.3084, allocations: 128.8 kB / 0.9934 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007159/0.3092, allocations: 0.7299 MB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3092, allocations: 0 / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.3096, allocations: 409 kB / 0.9945 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.3109, allocations: 303.6 kB / 0.9948 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.312, allocations: 1.029 MB / 0.9958 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.3122, allocations: 0.7608 MB / 0.9965 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.3124, allocations: 94.91 kB / 0.9966 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3126, allocations: 67.38 kB / 0.9967 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.3126, allocations: 0 / 0.9967 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of Templates: time 0.009745/0.3223, allocations: 8.14 MB / 1.005 GB, free: 1.418 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)