Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008577/0.0008576, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007041/0.007041, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.4 MB / 222.4 MB, free: 5.566 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.875/1.875, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005742/0.0005743, allocations: 18.02 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3056, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0009806/0.3066, allocations: 285.9 kB / 0.7882 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 5.072e-05/0.3067, allocations: 0 / 0.7882 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.3068, allocations: 0 / 0.7882 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.3068, allocations: 4 kB / 0.7882 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.79e-05/0.3068, allocations: 0 / 0.7882 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.921e-05/0.3069, allocations: 4 kB / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.335e-05/0.307, allocations: 4 kB / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.646e-05/0.307, allocations: 0 / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.3071, allocations: 0 / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.453e-05/0.3071, allocations: 3.984 kB / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3071, allocations: 0 / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.238e-06/0.3071, allocations: 0 / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.3071, allocations: 4 kB / 0.7882 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.3072, allocations: 37.58 kB / 0.7882 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.336e-05/0.3073, allocations: 3.984 kB / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3073, allocations: 0 / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3073, allocations: 0 / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3073, allocations: 0 / 0.7882 GB, free: 11.21 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000306/0.3076, allocations: 311.6 kB / 0.7885 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3077, allocations: 8.031 kB / 0.7885 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.3077, allocations: 0.9375 kB / 0.7885 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3078, allocations: 160.4 kB / 0.7887 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3079, allocations: 384 / 0.7887 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3079, allocations: 8.375 kB / 0.7887 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.308, allocations: 30.25 kB / 0.7887 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.308, allocations: 4.172 kB / 0.7887 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.308, allocations: 3.938 kB / 0.7887 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3081, allocations: 0 / 0.7887 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.3081, allocations: 4 kB / 0.7887 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.3086, allocations: 383.4 kB / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3087, allocations: 177.1 kB / 0.7893 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.3087, allocations: 80.14 kB / 0.7894 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.3088, allocations: 79.28 kB / 0.7894 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.602e-05/0.3089, allocations: 105.8 kB / 0.7895 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 3.627e-06/0.3089, allocations: 0 / 0.7895 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.309, allocations: 37.64 kB / 0.7896 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/0.3091, allocations: 126.7 kB / 0.7897 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3092, allocations: 93.84 kB / 0.7898 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3092, allocations: 33.64 kB / 0.7898 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.3093, allocations: 84.17 kB / 0.7899 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.3093, allocations: 0 / 0.7899 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.3093, allocations: 9.719 kB / 0.7899 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3095, allocations: 322.9 kB / 0.7902 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.3095, allocations: 0 / 0.7902 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.3095, allocations: 0 / 0.7902 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.3095, allocations: 75.28 kB / 0.7903 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.356e-05/0.3096, allocations: 75.28 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.177e-05/0.3096, allocations: 37.58 kB / 0.7904 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.3097, allocations: 79.28 kB / 0.7905 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/0.3097, allocations: 79.28 kB / 0.7905 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.198e-05/0.3098, allocations: 162.5 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.999e-05/0.3099, allocations: 75.28 kB / 0.7908 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.641e-05/0.3099, allocations: 154.6 kB / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.31, allocations: 79.22 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.3101, allocations: 79.28 kB / 0.7911 GB, free: 8.082 MB / 0.6075 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.0001544/0.3102, allocations: 264.3 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.3103, allocations: 106 kB / 0.7914 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/0.3104, allocations: 116.1 kB / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.02e-05/0.3105, allocations: 176.3 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-05/0.3106, allocations: 180.2 kB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.79e-05/0.3106, allocations: 176.3 kB / 0.792 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.3109, allocations: 417.1 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-05/0.311, allocations: 101 kB / 0.7925 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.311, allocations: 101 kB / 0.7926 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.129e-05/0.3111, allocations: 188.5 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.3112, allocations: 180.2 kB / 0.793 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.639e-05/0.3113, allocations: 180.2 kB / 0.7931 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.405e-05/0.3114, allocations: 184.3 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.3115, allocations: 307.7 kB / 0.7936 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/0.3116, allocations: 186.1 kB / 0.7938 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-05/0.3117, allocations: 180.2 kB / 0.794 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.3118, allocations: 113 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.3119, allocations: 180.2 kB / 0.7942 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.312, allocations: 109 kB / 0.7943 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.486e-05/0.312, allocations: 79.22 kB / 0.7944 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.312, allocations: 0 / 0.7944 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002708/0.3123, allocations: 0 / 0.7944 GB, free: 4.406 MB / 0.6075 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.0001968/0.3125, allocations: 178.6 kB / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.514e-05/0.3126, allocations: 0 / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3126, allocations: 0 / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.3126, allocations: 3.938 kB / 0.7946 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.3131, allocations: 0.5226 MB / 0.7951 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.3134, allocations: 154 kB / 0.7953 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.3137, allocations: 0.677 MB / 0.7959 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.205e-05/0.3137, allocations: 0 / 0.7959 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.554e-05/0.3138, allocations: 7.438 kB / 0.7959 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.3138, allocations: 0 / 0.7959 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.002187/0.316, allocations: 152.9 kB / 0.7961 GB, free: 2.648 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) Environment - environmentSimulation: