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.00141/0.00141, allocations: 106.7 kB / 16.37 MB, free: 6.469 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.001136/0.001136, allocations: 188.4 kB / 17.31 MB, free: 5.824 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.509/1.509, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.751/1.751, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001447/0.001447, allocations: 70.25 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2461, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001898/0.248, allocations: 0.5718 MB / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 4.098e-05/0.2481, allocations: 4 kB / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.2481, allocations: 0 / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.2482, allocations: 4 kB / 0.7854 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.288e-05/0.2482, allocations: 0 / 0.7854 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.559e-05/0.2482, allocations: 4 kB / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.2483, allocations: 3.938 kB / 0.7854 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.274e-05/0.2484, allocations: 4 kB / 0.7854 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.2484, allocations: 3.984 kB / 0.7854 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.766e-05/0.2484, allocations: 3.938 kB / 0.7854 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.2484, allocations: 0 / 0.7854 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-06/0.2484, allocations: 0 / 0.7854 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.2484, allocations: 0 / 0.7854 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.2485, allocations: 0 / 0.7854 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 6.451e-05/0.2485, allocations: 8 kB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2486, allocations: 4 kB / 0.7854 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2486, allocations: 0 / 0.7854 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2486, allocations: 0 / 0.7854 GB, free: 2.531 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.0003158/0.2489, allocations: 311.6 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2489, allocations: 8.031 kB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.249, allocations: 0.9375 kB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2491, allocations: 164.4 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.2491, allocations: 384 / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.2491, allocations: 8.375 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.848e-05/0.2492, allocations: 26.27 kB / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.2492, allocations: 4.125 kB / 0.7859 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2492, allocations: 3.938 kB / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2492, allocations: 0 / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.757e-05/0.2493, allocations: 11.94 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.2496, allocations: 375.5 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.886e-05/0.2497, allocations: 185 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.2497, allocations: 80.14 kB / 0.7865 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.2498, allocations: 75.28 kB / 0.7866 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.2498, allocations: 113.8 kB / 0.7867 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2498, allocations: 0 / 0.7867 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.027e-05/0.2499, allocations: 33.7 kB / 0.7867 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.25, allocations: 126.7 kB / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/0.2501, allocations: 93.86 kB / 0.787 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2501, allocations: 29.7 kB / 0.787 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.2501, allocations: 80.14 kB / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.2501, allocations: 0 / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.2501, allocations: 9.719 kB / 0.7871 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2503, allocations: 319 kB / 0.7874 GB, free: 300 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-06/0.2503, allocations: 0 / 0.7874 GB, free: 300 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.2503, allocations: 0 / 0.7874 GB, free: 300 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.486e-05/0.2503, allocations: 83.22 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/0.2504, allocations: 75.28 kB / 0.7875 GB, free: 140 kB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.434e-05/0.2504, allocations: 33.55 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.2505, allocations: 87.28 kB / 0.7876 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3734/0.6239, allocations: 75.28 kB / 0.7877 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.705e-05/0.624, allocations: 153.9 kB / 0.7879 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.349e-05/0.624, allocations: 79.56 kB / 0.7879 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/0.6241, allocations: 152 kB / 0.7881 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.6242, allocations: 81.7 kB / 0.7882 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.6242, allocations: 78.27 kB / 0.7882 GB, free: 47.93 MB / 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 8.062e-05/0.6243, allocations: 266.1 kB / 0.7885 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.6243, allocations: 107.9 kB / 0.7886 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.6243, allocations: 108.3 kB / 0.7887 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.6244, allocations: 186 kB / 0.7889 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-05/0.6244, allocations: 179.6 kB / 0.789 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/0.6244, allocations: 183 kB / 0.7892 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.6246, allocations: 409.5 kB / 0.7896 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.6246, allocations: 102.3 kB / 0.7897 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.6246, allocations: 108.4 kB / 0.7898 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.428e-05/0.6246, allocations: 186.1 kB / 0.79 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.6247, allocations: 180.5 kB / 0.7902 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-05/0.6247, allocations: 181.2 kB / 0.7903 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-05/0.6247, allocations: 179.4 kB / 0.7905 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.714e-05/0.6248, allocations: 307.7 kB / 0.7908 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.6248, allocations: 187.9 kB / 0.791 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.6249, allocations: 180.9 kB / 0.7911 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.625, allocations: 102 kB / 0.7912 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.625, allocations: 181 kB / 0.7914 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.625, allocations: 108.8 kB / 0.7915 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.68e-05/0.6251, allocations: 81.27 kB / 0.7916 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6251, allocations: 0 / 0.7916 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003451/0.6254, allocations: 0.5 kB / 0.7916 GB, free: 44.39 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.0001028/0.6255, allocations: 176.9 kB / 0.7918 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 4.414e-05/0.6256, allocations: 2.625 kB / 0.7918 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6256, allocations: 0.5625 kB / 0.7918 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.6256, allocations: 0 / 0.7918 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.6258, allocations: 468.1 kB / 0.7922 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001794/0.626, allocations: 179.7 kB / 0.7924 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.811e-05/0.6261, allocations: 0.6719 MB / 0.793 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.827e-05/0.6262, allocations: 8.281 kB / 0.7931 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6262, allocations: 0.875 kB / 0.7931 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.001443/0.6276, allocations: 322.4 kB / 0.7934 GB, free: 42.89 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)