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.001099/0.001099, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009388/0.0009389, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.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.726/1.726, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005163/0.0005163, allocations: 17.97 kB / 0.6735 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2425, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001572/0.2442, allocations: 1.122 MB / 0.7882 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005752/0.2448, allocations: 268.5 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.2448, allocations: 4 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.2449, allocations: 11.92 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.245, allocations: 23.89 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.2453, allocations: 71.86 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.2456, allocations: 148.2 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.17e-05/0.2457, allocations: 9.125 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-05/0.2457, allocations: 79.81 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.2459, allocations: 103.7 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.246, allocations: 8 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.027e-05/0.246, allocations: 8 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.724e-05/0.2461, allocations: 75.78 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.2462, allocations: 65.52 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.2464, allocations: 187.8 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2464, allocations: 0 / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2464, allocations: 0 / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2464, allocations: 0 / 0.7892 GB, free: 9.805 MB / 0.6075 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.0008813/0.2473, allocations: 0.6237 MB / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2473, allocations: 12.02 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.2474, allocations: 27.72 kB / 0.7899 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.2477, allocations: 253.6 kB / 0.7901 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.2477, allocations: 12.28 kB / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.2478, allocations: 19.98 kB / 0.7901 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.2483, allocations: 458.7 kB / 0.7906 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2483, allocations: 0 / 0.7906 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.2484, allocations: 8 kB / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2484, allocations: 4 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.2488, allocations: 323.8 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.2493, allocations: 0.5739 MB / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.2504, allocations: 1.026 MB / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.2505, allocations: 7.969 kB / 0.7925 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/0.251, allocations: 470.5 kB / 0.7929 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.452e-06/0.251, allocations: 0 / 0.7929 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001324/0.2524, allocations: 1.117 MB / 0.794 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.2525, allocations: 152.4 kB / 0.7941 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.2527, allocations: 244.9 kB / 0.7944 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.2527, allocations: 37.7 kB / 0.7944 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.2528, allocations: 121.1 kB / 0.7945 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.2529, allocations: 83.14 kB / 0.7946 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.2529, allocations: 4 kB / 0.7946 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.253, allocations: 338.8 kB / 0.7949 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.2534, allocations: 332.7 kB / 0.7953 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.2538, allocations: 422.5 kB / 0.7957 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.2542, allocations: 366.6 kB / 0.796 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2542, allocations: 0 / 0.796 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000935/0.2552, allocations: 0.8326 MB / 0.7968 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2552, allocations: 4 kB / 0.7968 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2552, allocations: 4 kB / 0.7968 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2552, allocations: 4 kB / 0.7968 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2554, allocations: 43.89 kB / 0.7969 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2554, allocations: 11.88 kB / 0.7969 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.2556, allocations: 31.81 kB / 0.7969 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.2559, allocations: 267.5 kB / 0.7972 GB, free: 1.297 MB / 0.6075 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.0001788/0.2561, allocations: 197.9 kB / 0.7974 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.2561, allocations: 39.52 kB / 0.7974 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.2562, allocations: 38.17 kB / 0.7974 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2562, allocations: 4 kB / 0.7974 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2562, allocations: 0 / 0.7974 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2562, allocations: 0 / 0.7974 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.2581, allocations: 1.71 MB / 0.7991 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2581, allocations: 4 kB / 0.7991 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.2582, allocations: 23.91 kB / 0.7991 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2582, allocations: 4 kB / 0.7991 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.2582, allocations: 19.97 kB / 0.7992 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2582, allocations: 0 / 0.7992 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2582, allocations: 4 kB / 0.7992 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2592, allocations: 1.15 MB / 0.8003 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.2593, allocations: 108.7 kB / 0.8004 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.2594, allocations: 11.94 kB / 0.8004 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.2596, allocations: 19.88 kB / 0.8004 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.2597, allocations: 47.94 kB / 0.8005 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/0.26, allocations: 279.5 kB / 0.8007 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001289/0.2601, allocations: 172.5 kB / 0.8009 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2602, allocations: 0 / 0.8009 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004396/0.2606, allocations: 64 kB / 0.801 GB, free: 13.3 MB / 0.6231 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.0001712/0.2608, allocations: 139.2 kB / 0.8011 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009081/0.2617, allocations: 0.7261 MB / 0.8018 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2617, allocations: 0 / 0.8018 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.2622, allocations: 402.9 kB / 0.8022 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.2635, allocations: 312 kB / 0.8025 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.265, allocations: 1.021 MB / 0.8035 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.2655, allocations: 0.7614 MB / 0.8042 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002537/0.2657, allocations: 106.9 kB / 0.8043 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.2659, allocations: 63.38 kB / 0.8044 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2659, allocations: 0 / 0.8044 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of Templates: time 0.01133/0.2772, allocations: 8.134 MB / 0.8123 GB, free: 1.691 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.Sources.Examples.DayType.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: