Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 100.3 kB / 16.27 MB, free: 6.418 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.002123/0.002123, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.737/1.737, 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.82/1.82, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001579/0.00158, allocations: 71.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2695, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002045/0.2716, allocations: 0.5754 MB / 0.7846 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 3.757e-05/0.2716, allocations: 4 kB / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.2717, allocations: 0 / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.2717, allocations: 0 / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.245e-05/0.2717, allocations: 0 / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.127e-05/0.2718, allocations: 8 kB / 0.7846 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.2719, allocations: 3.984 kB / 0.7846 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.708e-05/0.2719, allocations: 0 / 0.7846 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.606e-05/0.2719, allocations: 0 / 0.7846 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.822e-05/0.272, allocations: 4 kB / 0.7846 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.272, allocations: 0 / 0.7846 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.147e-06/0.272, allocations: 3.938 kB / 0.7846 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.272, allocations: 4 kB / 0.7846 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.272, allocations: 3.938 kB / 0.7847 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 5.803e-05/0.2721, allocations: 3.984 kB / 0.7847 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2721, allocations: 4 kB / 0.7847 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2721, allocations: 0 / 0.7847 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.2721, allocations: 4 kB / 0.7847 GB, free: 3.219 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.0003103/0.2725, allocations: 314.4 kB / 0.785 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2725, allocations: 12.06 kB / 0.785 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.2725, allocations: 0.9375 kB / 0.785 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2727, allocations: 164.4 kB / 0.7851 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.2727, allocations: 384 / 0.7851 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.2727, allocations: 384 / 0.7851 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.504e-05/0.2728, allocations: 30.27 kB / 0.7852 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2728, allocations: 192 / 0.7852 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.2728, allocations: 3.938 kB / 0.7852 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2728, allocations: 3.984 kB / 0.7852 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.2728, allocations: 4 kB / 0.7852 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.2732, allocations: 379.5 kB / 0.7855 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.2733, allocations: 181.1 kB / 0.7857 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.449e-05/0.2733, allocations: 88.17 kB / 0.7858 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.2734, allocations: 75.28 kB / 0.7859 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.2734, allocations: 109.8 kB / 0.786 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.2734, allocations: 0 / 0.786 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.695e-05/0.2735, allocations: 29.64 kB / 0.786 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.2736, allocations: 130.6 kB / 0.7861 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.2737, allocations: 97.86 kB / 0.7862 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2737, allocations: 25.7 kB / 0.7862 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.2737, allocations: 80.14 kB / 0.7863 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.2737, allocations: 0 / 0.7863 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.2737, allocations: 21.83 kB / 0.7863 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2739, allocations: 310.8 kB / 0.7866 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-06/0.2739, allocations: 0 / 0.7866 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-06/0.2739, allocations: 0 / 0.7866 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.2739, allocations: 75.28 kB / 0.7867 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.487e-05/0.2739, allocations: 75.28 kB / 0.7868 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.615e-05/0.274, allocations: 45.48 kB / 0.7868 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.2741, allocations: 79.28 kB / 0.7869 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/0.2741, allocations: 87.27 kB / 0.787 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.823e-05/0.2742, allocations: 150.6 kB / 0.7871 GB, free: 480 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.738e-05/0.2742, allocations: 83.2 kB / 0.7872 GB, free: 396 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-05/0.2743, allocations: 150.6 kB / 0.7873 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.2743, allocations: 83.16 kB / 0.7874 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.2744, allocations: 79.28 kB / 0.7875 GB, free: 80 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.4773/0.7517, allocations: 267.3 kB / 0.7878 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.7518, allocations: 101.6 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.7518, allocations: 107.5 kB / 0.788 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.34e-05/0.7519, allocations: 185 kB / 0.7881 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-05/0.7519, allocations: 181 kB / 0.7883 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-05/0.752, allocations: 181.3 kB / 0.7885 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.7522, allocations: 409.8 kB / 0.7889 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/0.7522, allocations: 108 kB / 0.789 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.7523, allocations: 106.2 kB / 0.7891 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.579e-05/0.7523, allocations: 178 kB / 0.7892 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.7523, allocations: 180.3 kB / 0.7894 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.638e-05/0.7524, allocations: 181 kB / 0.7896 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.493e-05/0.7524, allocations: 184.3 kB / 0.7898 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.765e-05/0.7525, allocations: 306.9 kB / 0.7901 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.7526, allocations: 185.5 kB / 0.7902 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.7526, allocations: 177.6 kB / 0.7904 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.7527, allocations: 103.4 kB / 0.7905 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.7528, allocations: 190.2 kB / 0.7907 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.7528, allocations: 103.7 kB / 0.7908 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.7528, allocations: 80.14 kB / 0.7909 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7528, allocations: 0 / 0.7909 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003337/0.7532, allocations: 1.062 kB / 0.7909 GB, free: 45.06 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.0001614/0.7534, allocations: 175.4 kB / 0.791 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.154e-05/0.7534, allocations: 4.359 kB / 0.791 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7534, allocations: 3.375 kB / 0.791 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.7534, allocations: 2.156 kB / 0.791 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.7538, allocations: 462.5 kB / 0.7915 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.7541, allocations: 175.7 kB / 0.7916 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.7542, allocations: 0.6704 MB / 0.7923 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.7543, allocations: 10.12 kB / 0.7923 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of SimCode: time 1.022e-06/0.7543, allocations: 0.5938 kB / 0.7923 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of Templates: time 0.001751/0.756, allocations: 324.5 kB / 0.7926 GB, free: 43.56 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)