Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001489, allocations: 107.6 kB / 16.29 MB, free: 6.43 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.001474/0.001474, allocations: 184 kB / 17.22 MB, free: 5.934 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.581/1.581, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.862/1.862, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.002149/0.002149, allocations: 67.91 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.283, allocations: 114.6 MB / 0.7841 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002116/0.2851, allocations: 0.7436 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.2872, allocations: 1.262 MB / 0.7861 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.16e-05/0.2872, allocations: 0 / 0.7861 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.2873, allocations: 3.938 kB / 0.7861 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.2874, allocations: 19.8 kB / 0.7861 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.2882, allocations: 241.4 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.2885, allocations: 275.5 kB / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2886, allocations: 12.23 kB / 0.7866 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2888, allocations: 95.86 kB / 0.7867 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.2889, allocations: 103.7 kB / 0.7868 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.289, allocations: 20 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.2891, allocations: 39.98 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.2891, allocations: 31.95 kB / 0.7869 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.2893, allocations: 95.73 kB / 0.787 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.2896, allocations: 223.6 kB / 0.7872 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2896, allocations: 4 kB / 0.7872 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2896, allocations: 3.938 kB / 0.7872 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2896, allocations: 0 / 0.7872 GB, free: 0.7344 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008074/0.2904, allocations: 0.4907 MB / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.2905, allocations: 8.031 kB / 0.7877 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.098e-05/0.2906, allocations: 20.83 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4639/0.7545, allocations: 243.5 kB / 0.7879 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/0.7546, allocations: 14.25 kB / 0.7879 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.7547, allocations: 19.31 kB / 0.7879 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.7551, allocations: 128.4 kB / 0.7881 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.7552, allocations: 4.875 kB / 0.7881 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.7552, allocations: 4.453 kB / 0.7881 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.7552, allocations: 6.562 kB / 0.7881 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.7555, allocations: 60.88 kB / 0.7881 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.7567, allocations: 0.5145 MB / 0.7886 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.7572, allocations: 163.7 kB / 0.7888 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.7574, allocations: 72.19 kB / 0.7889 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.7574, allocations: 0 / 0.7889 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005229/0.7579, allocations: 205.9 kB / 0.7891 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.645e-06/0.7579, allocations: 1.688 kB / 0.7891 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22): time 0.00092/0.7589, allocations: 316.6 kB / 0.7894 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.759, allocations: 81.86 kB / 0.7894 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.7591, allocations: 136.3 kB / 0.7896 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.7592, allocations: 42.94 kB / 0.7896 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.7593, allocations: 93.91 kB / 0.7897 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.7593, allocations: 55.03 kB / 0.7898 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.7595, allocations: 72.66 kB / 0.7898 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.7596, allocations: 330.4 kB / 0.7901 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.7599, allocations: 83.23 kB / 0.7902 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.7602, allocations: 152.6 kB / 0.7904 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.7607, allocations: 243.6 kB / 0.7906 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.7607, allocations: 2.312 kB / 0.7906 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009159/0.7616, allocations: 363.7 kB / 0.7909 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.7617, allocations: 68.67 kB / 0.791 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.7618, allocations: 3.984 kB / 0.791 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.7618, allocations: 5.969 kB / 0.791 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.762, allocations: 17.03 kB / 0.791 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.762, allocations: 8.344 kB / 0.791 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/0.7626, allocations: 65.16 kB / 0.7911 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/0.7627, allocations: 23.41 kB / 0.7911 GB, free: 47.78 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0002007/0.7629, allocations: 144.5 kB / 0.7913 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.763, allocations: 16 kB / 0.7913 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.923e-05/0.7631, allocations: 14.75 kB / 0.7913 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.7631, allocations: 5.688 kB / 0.7913 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.7631, allocations: 0 / 0.7913 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.7631, allocations: 3.188 kB / 0.7913 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008534/0.764, allocations: 0.6203 MB / 0.7919 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.764, allocations: 0 / 0.7919 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.7641, allocations: 10.5 kB / 0.7919 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.7641, allocations: 2.656 kB / 0.7919 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.7641, allocations: 9.562 kB / 0.7919 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.7642, allocations: 7.062 kB / 0.7919 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7642, allocations: 0.5938 kB / 0.7919 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.7648, allocations: 422.1 kB / 0.7923 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.7648, allocations: 90.17 kB / 0.7924 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.7649, allocations: 10.66 kB / 0.7924 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.7651, allocations: 11.98 kB / 0.7925 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-05/0.7653, allocations: 31.25 kB / 0.7925 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.7653, allocations: 12.98 kB / 0.7925 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.778e-05/0.7654, allocations: 99.31 kB / 0.7926 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7654, allocations: 0 / 0.7926 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005993/0.766, allocations: 62.22 kB / 0.7926 GB, free: 46.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * 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.0002281/0.7663, allocations: 119.5 kB / 0.7928 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007322/0.767, allocations: 348.8 kB / 0.7931 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.767, allocations: 0 / 0.7931 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.7673, allocations: 111.3 kB / 0.7932 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.768, allocations: 37.88 kB / 0.7932 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/0.7687, allocations: 270.5 kB / 0.7935 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.769, allocations: 0.7077 MB / 0.7942 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.501e-05/0.7691, allocations: 16.06 kB / 0.7942 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.7691, allocations: 20.22 kB / 0.7942 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.7692, allocations: 5.844 kB / 0.7942 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.009906/0.7791, allocations: 2.665 MB / 0.7968 GB, free: 45.71 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)