Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.863/1.863, allocations: 288.4 MB / 303.6 MB, free: 8.078 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.001992/0.001993, allocations: 183.5 kB / 372.3 MB, free: 10.12 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.861/1.861, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007941/0.0007943, allocations: 94.36 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003764, allocations: 14.19 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 115.3 MB / 0.9802 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.0008198/0.2071, allocations: 431.1 kB / 0.9806 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007816/0.2079, allocations: 0.7854 MB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.208, allocations: 4 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.208, allocations: 7.875 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.2081, allocations: 4 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.228e-05/0.2082, allocations: 7.984 kB / 0.9814 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.2082, allocations: 39.86 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2083, allocations: 15.98 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.2084, allocations: 15.92 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.2085, allocations: 23.91 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2085, allocations: 0 / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-06/0.2085, allocations: 4 kB / 0.9815 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.2085, allocations: 4 kB / 0.9815 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.2085, allocations: 37.62 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.041e-05/0.2086, allocations: 27.88 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2086, allocations: 4 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2086, allocations: 0 / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2086, allocations: 0 / 0.9815 GB, free: 25.9 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004089/0.209, allocations: 369.1 kB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2091, allocations: 8.031 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.2091, allocations: 12.84 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.2092, allocations: 172.3 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.2093, allocations: 384 / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.2093, allocations: 4.375 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.2095, allocations: 74.22 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2095, allocations: 4.188 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2096, allocations: 3.938 kB / 0.9821 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2096, allocations: 0 / 0.9821 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.2099, allocations: 91.86 kB / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.2102, allocations: 272.9 kB / 0.9825 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.2104, allocations: 70.48 kB / 0.9826 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2105, allocations: 52.84 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.2106, allocations: 4 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.2106, allocations: 30.56 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.2106, allocations: 0 / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004817/0.2111, allocations: 157.5 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.2111, allocations: 59.41 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.088e-05/0.2112, allocations: 113.8 kB / 0.983 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.2112, allocations: 25.7 kB / 0.983 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.2112, allocations: 88.06 kB / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.2113, allocations: 15.81 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.2113, allocations: 0 / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.2113, allocations: 310.8 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.2115, allocations: 47.95 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.2116, allocations: 39.97 kB / 0.9835 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.2118, allocations: 92.72 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2119, allocations: 7.938 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002832/0.2121, allocations: 117.6 kB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2122, allocations: 4 kB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2122, allocations: 0 / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2122, allocations: 4.328 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2123, allocations: 23.97 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2123, allocations: 0 / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.2124, allocations: 19.98 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.2124, allocations: 4 kB / 0.9837 GB, free: 23.43 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 (3): * Single equations (assignments): 3 * 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 5.735e-05/0.2125, allocations: 109.8 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.2125, allocations: 11.89 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.2126, allocations: 7.906 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2126, allocations: 0 / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2126, allocations: 0 / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2126, allocations: 11.92 kB / 0.9839 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.2127, allocations: 177.5 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2127, allocations: 0 / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.864e-05/0.2128, allocations: 19.98 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2128, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.2128, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2128, allocations: 0 / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2128, allocations: 4 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.2132, allocations: 223.4 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.2132, allocations: 81.02 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.2132, allocations: 0 / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.2133, allocations: 15.98 kB / 0.9844 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.2134, allocations: 3.984 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2134, allocations: 7.938 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.2134, allocations: 87.27 kB / 0.9844 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.72e-07/0.2134, allocations: 7.938 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002007/0.2136, allocations: 11.94 kB / 0.9845 GB, free: 22.57 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 (3): * Single equations (assignments): 3 * 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.000141/0.2138, allocations: 95.25 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003065/0.2141, allocations: 91.92 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2141, allocations: 0 / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.2142, allocations: 51.97 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.2145, allocations: 7.922 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.2148, allocations: 132.6 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2149, allocations: 0.6848 MB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.215, allocations: 0 / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.215, allocations: 7.438 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.215, allocations: 0 / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.00226/0.2173, allocations: 0.5261 MB / 0.986 GB, free: 20.93 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)