Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.841/1.841, allocations: 288.4 MB / 303.4 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 181.4 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007395/0.0007392, allocations: 90.41 kB / 0.7441 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00056/0.0005601, allocations: 16.94 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2347, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007914/0.2355, allocations: 290.2 kB / 0.9799 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 4.848e-05/0.2356, allocations: 4 kB / 0.9799 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.2356, allocations: 0 / 0.9799 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.2357, allocations: 0 / 0.9799 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.2357, allocations: 0 / 0.9799 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.199e-05/0.2358, allocations: 0 / 0.9799 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.066e-05/0.2358, allocations: 3.938 kB / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.2359, allocations: 4 kB / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.2359, allocations: 0 / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.282e-05/0.2359, allocations: 4 kB / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.236, allocations: 0 / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-06/0.236, allocations: 0 / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-06/0.236, allocations: 4 kB / 0.9799 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.236, allocations: 25.7 kB / 0.9799 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.742e-05/0.2361, allocations: 3.984 kB / 0.9799 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2361, allocations: 4 kB / 0.9799 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2361, allocations: 0 / 0.9799 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2361, allocations: 0 / 0.9799 GB, free: 27.31 MB / 0.6198 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.0002313/0.2363, allocations: 303.4 kB / 0.9802 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2364, allocations: 8.094 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.2364, allocations: 4 kB / 0.9802 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/0.2365, allocations: 171 kB / 0.9804 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2365, allocations: 0 / 0.9804 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.2366, allocations: 3.984 kB / 0.9804 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.263e-05/0.2366, allocations: 37.64 kB / 0.9804 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2367, allocations: 3.938 kB / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2367, allocations: 0 / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2367, allocations: 0 / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.2367, allocations: 0 / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.237, allocations: 387.5 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.321e-05/0.237, allocations: 169.1 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.2371, allocations: 80.14 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.2371, allocations: 75.28 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2371, allocations: 109.9 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2371, allocations: 4 kB / 0.9812 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.035e-05/0.2372, allocations: 33.55 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2373, allocations: 130.6 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.2373, allocations: 101.8 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.2373, allocations: 25.7 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.494e-05/0.2374, allocations: 80.14 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-06/0.2374, allocations: 0 / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.2374, allocations: 128 / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.811e-05/0.2374, allocations: 322.8 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.2374, allocations: 4 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-06/0.2375, allocations: 0 / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.302e-05/0.2375, allocations: 75.28 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.2375, allocations: 75.28 kB / 0.9821 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.712e-05/0.2375, allocations: 29.7 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.2376, allocations: 87.27 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.2376, allocations: 83.22 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-05/0.2376, allocations: 150.6 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.391e-05/0.2377, allocations: 79.22 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.869e-05/0.2377, allocations: 154.6 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.2378, allocations: 75.28 kB / 0.9827 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.2378, allocations: 79.22 kB / 0.9828 GB, free: 24.2 MB / 0.6198 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 6.534e-05/0.2379, allocations: 273.9 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.2379, allocations: 105 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.2379, allocations: 108 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.238, allocations: 177.1 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-05/0.238, allocations: 180.3 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.238, allocations: 184.2 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.2382, allocations: 409.1 kB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.2382, allocations: 108.9 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.2382, allocations: 101 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.904e-05/0.2383, allocations: 184.2 kB / 0.9845 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.2383, allocations: 184.5 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.992e-05/0.2383, allocations: 188.3 kB / 0.9849 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.119e-05/0.2384, allocations: 180.2 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.376e-05/0.2385, allocations: 315.8 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.2385, allocations: 178.1 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.2386, allocations: 180.3 kB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.2387, allocations: 108.9 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.2387, allocations: 180.2 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.2387, allocations: 104.9 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.209e-05/0.2388, allocations: 83.28 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2388, allocations: 0 / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002545/0.239, allocations: 0 / 0.9861 GB, free: 20.53 MB / 0.6198 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.0001217/0.2392, allocations: 178.6 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.141e-05/0.2392, allocations: 0 / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2392, allocations: 0 / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.2392, allocations: 4 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.2395, allocations: 0.5251 MB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.2397, allocations: 154 kB / 0.987 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2398, allocations: 0.6731 MB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.339e-05/0.2398, allocations: 4 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.394e-05/0.2399, allocations: 7.438 kB / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2399, allocations: 3.938 kB / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.00166/0.2415, allocations: 164.2 kB / 0.9878 GB, free: 18.76 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)