Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001385, allocations: 103.8 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.001414/0.001414, allocations: 187.9 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.563/1.563, 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.924/1.924, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001596/0.001596, allocations: 79.83 kB / 0.6722 GB, free: 6.453 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3552, allocations: 114.6 MB / 0.7841 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002542/0.3578, allocations: 0.5536 MB / 0.7846 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 5.563e-05/0.3579, allocations: 3.984 kB / 0.7846 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.3579, allocations: 0 / 0.7846 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.358, allocations: 0 / 0.7846 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.787e-05/0.358, allocations: 0 / 0.7846 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.664e-05/0.3581, allocations: 0 / 0.7846 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.608e-05/0.3581, allocations: 11.94 kB / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.574e-05/0.3582, allocations: 0 / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.193e-05/0.3583, allocations: 0 / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.553e-05/0.3583, allocations: 4 kB / 0.7847 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.3583, allocations: 4 kB / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-06/0.3583, allocations: 0 / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.3584, allocations: 0 / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.3584, allocations: 3.938 kB / 0.7847 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.815e-05/0.3585, allocations: 0 / 0.7847 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3585, allocations: 0 / 0.7847 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3585, allocations: 0 / 0.7847 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.3585, allocations: 0 / 0.7847 GB, free: 3.195 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004407/0.3589, allocations: 315.6 kB / 0.785 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.359, allocations: 16.03 kB / 0.785 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.3591, allocations: 0.9375 kB / 0.785 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3592, allocations: 160.4 kB / 0.7851 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3592, allocations: 384 / 0.7851 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.3592, allocations: 384 / 0.7851 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.3594, allocations: 34.25 kB / 0.7852 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3594, allocations: 192 / 0.7852 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3594, allocations: 3.938 kB / 0.7852 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3594, allocations: 0 / 0.7852 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.044e-05/0.3595, allocations: 7.938 kB / 0.7852 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.3599, allocations: 379.5 kB / 0.7855 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.36, allocations: 177.1 kB / 0.7857 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.3601, allocations: 84.08 kB / 0.7858 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.3601, allocations: 87.25 kB / 0.7859 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.3602, allocations: 105.8 kB / 0.786 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3602, allocations: 0 / 0.786 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.271e-05/0.3603, allocations: 25.7 kB / 0.786 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.3604, allocations: 126.7 kB / 0.7861 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3605, allocations: 101.8 kB / 0.7862 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3605, allocations: 29.64 kB / 0.7863 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.3606, allocations: 84.27 kB / 0.7863 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.3606, allocations: 0 / 0.7863 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.3606, allocations: 13.72 kB / 0.7863 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3607, allocations: 310.8 kB / 0.7866 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-06/0.3607, allocations: 0 / 0.7866 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.3608, allocations: 3.938 kB / 0.7866 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.814e-05/0.3608, allocations: 79.28 kB / 0.7867 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.294e-05/0.3608, allocations: 75.28 kB / 0.7868 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.334e-05/0.3609, allocations: 41.55 kB / 0.7868 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.361, allocations: 79.28 kB / 0.7869 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/0.361, allocations: 75.28 kB / 0.787 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.083e-05/0.3611, allocations: 166.5 kB / 0.7871 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.94e-05/0.3612, allocations: 79.27 kB / 0.7872 GB, free: 364 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-05/0.3612, allocations: 154.5 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.895e-05/0.3613, allocations: 79.28 kB / 0.7874 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.3614, allocations: 79.28 kB / 0.7875 GB, free: 48 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.5108/0.8721, allocations: 259.7 kB / 0.7878 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.8722, allocations: 104.7 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.8723, allocations: 114 kB / 0.788 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/0.8723, allocations: 181.1 kB / 0.7881 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-05/0.8724, allocations: 180.8 kB / 0.7883 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-05/0.8724, allocations: 186.4 kB / 0.7885 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.8726, allocations: 408.3 kB / 0.7889 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/0.8727, allocations: 105.5 kB / 0.789 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.8727, allocations: 104.1 kB / 0.7891 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-05/0.8727, allocations: 183.8 kB / 0.7893 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.8728, allocations: 176.9 kB / 0.7894 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.959e-05/0.8728, allocations: 183.6 kB / 0.7896 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.779e-05/0.8728, allocations: 178.1 kB / 0.7898 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.282e-05/0.8729, allocations: 307.8 kB / 0.7901 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.873, allocations: 184.7 kB / 0.7902 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.873, allocations: 182.5 kB / 0.7904 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.8731, allocations: 107.4 kB / 0.7905 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.8731, allocations: 180.9 kB / 0.7907 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.8732, allocations: 111.9 kB / 0.7908 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.8732, allocations: 84.94 kB / 0.7909 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8732, allocations: 0 / 0.7909 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000294/0.8735, allocations: 0 / 0.7909 GB, free: 45.11 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002056/0.8737, allocations: 176.8 kB / 0.791 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.8738, allocations: 0 / 0.791 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8738, allocations: 0 / 0.791 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-06/0.8738, allocations: 4.188 kB / 0.7911 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.8742, allocations: 460.8 kB / 0.7915 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.8745, allocations: 148.6 kB / 0.7916 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.8746, allocations: 0.672 MB / 0.7923 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.949e-06/0.8746, allocations: 3.812 kB / 0.7923 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.8747, allocations: 7.438 kB / 0.7923 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.8747, allocations: 1.75 kB / 0.7923 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of Templates: time 0.002556/0.8772, allocations: 168 kB / 0.7925 GB, free: 43.65 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)