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.001495/0.001495, allocations: 99.53 kB / 16.27 MB, free: 5.977 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.001754/0.001754, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.745/1.745, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.807/1.807, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001495/0.001496, allocations: 67.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2773, allocations: 114.5 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00219/0.2795, allocations: 0.5641 MB / 0.7846 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 3.907e-05/0.2796, allocations: 0 / 0.7846 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.2796, allocations: 0 / 0.7846 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.2796, allocations: 4 kB / 0.7846 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.16e-05/0.2797, allocations: 3.938 kB / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.705e-05/0.2797, allocations: 0 / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.2798, allocations: 4 kB / 0.7846 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.053e-05/0.2799, allocations: 0 / 0.7846 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.753e-05/0.2799, allocations: 4 kB / 0.7846 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.158e-05/0.2799, allocations: 0 / 0.7846 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2799, allocations: 0 / 0.7846 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-06/0.2799, allocations: 7.938 kB / 0.7846 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.28, allocations: 3.984 kB / 0.7846 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.28, allocations: 0 / 0.7846 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.038e-05/0.28, allocations: 7.984 kB / 0.7846 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2801, allocations: 0 / 0.7846 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2801, allocations: 0 / 0.7846 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.2801, allocations: 0 / 0.7846 GB, free: 3.23 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.0003746/0.2805, allocations: 311.6 kB / 0.7849 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2805, allocations: 8.031 kB / 0.7849 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.2805, allocations: 4.938 kB / 0.7849 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.2807, allocations: 164.4 kB / 0.7851 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2807, allocations: 384 / 0.7851 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.2807, allocations: 4.375 kB / 0.7851 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.2808, allocations: 30.27 kB / 0.7851 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2808, allocations: 4.125 kB / 0.7851 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2809, allocations: 3.938 kB / 0.7851 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2809, allocations: 0 / 0.7851 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.723e-05/0.2809, allocations: 0 / 0.7851 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.2812, allocations: 379.5 kB / 0.7855 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.2813, allocations: 177.1 kB / 0.7857 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.735e-05/0.2814, allocations: 91.95 kB / 0.7858 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.2814, allocations: 75.28 kB / 0.7858 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.2815, allocations: 113.9 kB / 0.7859 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2815, allocations: 0 / 0.7859 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001116/0.2816, allocations: 29.7 kB / 0.786 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.2817, allocations: 130.7 kB / 0.7861 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.966e-05/0.2818, allocations: 93.86 kB / 0.7862 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2818, allocations: 25.7 kB / 0.7862 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.2819, allocations: 84.14 kB / 0.7863 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.2819, allocations: 0 / 0.7863 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.2819, allocations: 13.72 kB / 0.7863 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.282, allocations: 315 kB / 0.7866 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-06/0.2821, allocations: 3.938 kB / 0.7866 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-06/0.2821, allocations: 0 / 0.7866 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.2821, allocations: 75.28 kB / 0.7867 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.276e-05/0.2821, allocations: 75.28 kB / 0.7868 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.361e-05/0.2822, allocations: 41.53 kB / 0.7868 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.2822, allocations: 79.28 kB / 0.7869 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/0.2823, allocations: 83.22 kB / 0.7869 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.73e-05/0.2824, allocations: 158.6 kB / 0.7871 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.96e-05/0.2824, allocations: 75.28 kB / 0.7872 GB, free: 412 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001141/0.2825, allocations: 158.5 kB / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.965e-05/0.2826, allocations: 75.28 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.2827, allocations: 83.22 kB / 0.7875 GB, free: 92 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.4588/0.7415, allocations: 262.6 kB / 0.7877 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.7416, allocations: 101 kB / 0.7878 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.7416, allocations: 113.5 kB / 0.7879 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/0.7417, allocations: 183.1 kB / 0.7881 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.564e-05/0.7417, allocations: 184.7 kB / 0.7883 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/0.7418, allocations: 178.6 kB / 0.7884 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.7419, allocations: 410.2 kB / 0.7888 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.742, allocations: 103 kB / 0.7889 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.742, allocations: 103.9 kB / 0.789 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.697e-05/0.742, allocations: 183.8 kB / 0.7892 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.7421, allocations: 184.1 kB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.894e-05/0.7421, allocations: 179.4 kB / 0.7896 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.548e-05/0.7421, allocations: 184.5 kB / 0.7897 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.534e-05/0.7422, allocations: 309.1 kB / 0.79 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.7422, allocations: 182.8 kB / 0.7902 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.7423, allocations: 179.2 kB / 0.7904 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.7424, allocations: 110.1 kB / 0.7905 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.7424, allocations: 182 kB / 0.7907 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.7424, allocations: 105.6 kB / 0.7908 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.7425, allocations: 77.12 kB / 0.7908 GB, free: 45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7425, allocations: 3.562 kB / 0.7908 GB, free: 45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003307/0.7428, allocations: 0 / 0.7908 GB, free: 45 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.0001126/0.7429, allocations: 179.2 kB / 0.791 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 4.733e-05/0.743, allocations: 2.344 kB / 0.791 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.743, allocations: 0 / 0.791 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.743, allocations: 4.406 kB / 0.791 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.7433, allocations: 463.7 kB / 0.7914 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001971/0.7436, allocations: 176.9 kB / 0.7916 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.7437, allocations: 0.669 MB / 0.7923 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.7437, allocations: 7.438 kB / 0.7923 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.7437, allocations: 0 / 0.7923 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of Templates: time 0.001427/0.7451, allocations: 324.5 kB / 0.7926 GB, free: 43.51 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)