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.000765/0.0007648, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008619/0.0008621, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.672/1.672, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005406/0.0005407, allocations: 21.75 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2477, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0006528/0.2483, allocations: 298 kB / 0.7876 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.116e-05/0.2484, allocations: 0 / 0.7876 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.055e-05/0.2484, allocations: 0 / 0.7876 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.2485, allocations: 7.938 kB / 0.7876 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.493e-05/0.2485, allocations: 0 / 0.7876 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.419e-05/0.2485, allocations: 0 / 0.7876 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.799e-05/0.2486, allocations: 3.938 kB / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.606e-05/0.2486, allocations: 0 / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.186e-05/0.2486, allocations: 0 / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.591e-05/0.2487, allocations: 4 kB / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2487, allocations: 0 / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.276e-06/0.2487, allocations: 4 kB / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.2487, allocations: 0 / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.2487, allocations: 25.7 kB / 0.7876 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.636e-05/0.2488, allocations: 7.984 kB / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2488, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2488, allocations: 0 / 0.7876 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2488, allocations: 0 / 0.7876 GB, free: 11.58 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.0002439/0.2491, allocations: 307.4 kB / 0.7879 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2491, allocations: 8.031 kB / 0.7879 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.2491, allocations: 0 / 0.7879 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.2492, allocations: 175 kB / 0.7881 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2493, allocations: 4 kB / 0.7881 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.2493, allocations: 0 / 0.7881 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.643e-05/0.2493, allocations: 25.7 kB / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.2494, allocations: 0 / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.2494, allocations: 0 / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.2494, allocations: 0 / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.205e-05/0.2494, allocations: 4 kB / 0.7881 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.2497, allocations: 391.4 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.835e-05/0.2498, allocations: 169.1 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.2498, allocations: 84.08 kB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.2498, allocations: 75.28 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.2499, allocations: 109.8 kB / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.2499, allocations: 0 / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.762e-05/0.25, allocations: 41.53 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.25, allocations: 130.7 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.438e-05/0.2501, allocations: 97.86 kB / 0.7892 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/0.2501, allocations: 25.7 kB / 0.7892 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.2502, allocations: 80.14 kB / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-06/0.2502, allocations: 128 / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.2502, allocations: 4 kB / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2503, allocations: 322.8 kB / 0.7896 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-06/0.2503, allocations: 0 / 0.7896 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.2503, allocations: 0 / 0.7896 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.2503, allocations: 75.28 kB / 0.7897 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.281e-05/0.2504, allocations: 79.28 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.367e-05/0.2504, allocations: 33.62 kB / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.2505, allocations: 79.28 kB / 0.7899 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.2505, allocations: 83.28 kB / 0.7899 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-05/0.2506, allocations: 154.6 kB / 0.7901 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.878e-05/0.2506, allocations: 79.22 kB / 0.7902 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.053e-05/0.2507, allocations: 150.6 kB / 0.7903 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.2507, allocations: 83.22 kB / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.2508, allocations: 75.28 kB / 0.7905 GB, free: 8.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.2509, allocations: 268.3 kB / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.2509, allocations: 109 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.251, allocations: 109.1 kB / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.574e-05/0.251, allocations: 176.3 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-05/0.2511, allocations: 180.2 kB / 0.7913 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-05/0.2512, allocations: 188.2 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.2514, allocations: 401.2 kB / 0.7918 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.2514, allocations: 104.9 kB / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.2515, allocations: 109 kB / 0.792 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.156e-05/0.2516, allocations: 188.2 kB / 0.7922 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.2516, allocations: 180.6 kB / 0.7924 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.789e-05/0.2517, allocations: 176.3 kB / 0.7926 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.094e-05/0.2517, allocations: 188.2 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.2519, allocations: 307.8 kB / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.2519, allocations: 186.1 kB / 0.7932 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.252, allocations: 184.2 kB / 0.7934 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.2521, allocations: 101 kB / 0.7935 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.2522, allocations: 184.2 kB / 0.7936 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.2522, allocations: 108.9 kB / 0.7938 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.2523, allocations: 75.28 kB / 0.7938 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2523, allocations: 0 / 0.7938 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002642/0.2525, allocations: 8.094 kB / 0.7938 GB, free: 4.781 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.2527, allocations: 170.5 kB / 0.794 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.948e-05/0.2527, allocations: 7.938 kB / 0.794 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2527, allocations: 0 / 0.794 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.2527, allocations: 0 / 0.794 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.2531, allocations: 0.5304 MB / 0.7945 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001887/0.2533, allocations: 153 kB / 0.7947 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2535, allocations: 0.6692 MB / 0.7953 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.973e-06/0.2535, allocations: 0 / 0.7953 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.2535, allocations: 7.438 kB / 0.7953 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2535, allocations: 0 / 0.7953 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.001639/0.2552, allocations: 167.2 kB / 0.7955 GB, free: 3.02 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: