Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.654/1.654, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 185.3 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.4 MB / 0.5783 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009095/0.0009095, allocations: 85.94 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 11.28 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2019, allocations: 106.3 MB / 0.9009 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001419/0.2034, allocations: 1.125 MB / 0.902 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003046/0.2037, allocations: 113.7 kB / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.2038, allocations: 0 / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.2038, allocations: 7.938 kB / 0.9021 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.2039, allocations: 3.938 kB / 0.9021 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.31e-05/0.204, allocations: 7.984 kB / 0.9021 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.02e-05/0.204, allocations: 39.92 kB / 0.9021 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.2041, allocations: 11.98 kB / 0.9021 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.2042, allocations: 11.92 kB / 0.9021 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.059e-05/0.2042, allocations: 15.92 kB / 0.9022 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.2043, allocations: 4 kB / 0.9022 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-06/0.2043, allocations: 0 / 0.9022 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.2043, allocations: 11.98 kB / 0.9022 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.2043, allocations: 33.58 kB / 0.9022 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.531e-05/0.2044, allocations: 35.94 kB / 0.9022 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2044, allocations: 0 / 0.9022 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.123e-06/0.2044, allocations: 0 / 0.9022 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2044, allocations: 0 / 0.9022 GB, free: 62.82 MB / 0.6042 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.0004474/0.2049, allocations: 371.4 kB / 0.9026 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2049, allocations: 12.03 kB / 0.9026 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.2049, allocations: 4 kB / 0.9026 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2051, allocations: 163 kB / 0.9028 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2051, allocations: 3.938 kB / 0.9028 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.2051, allocations: 4 kB / 0.9028 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.2054, allocations: 89.58 kB / 0.9029 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2054, allocations: 0 / 0.9029 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.2054, allocations: 0 / 0.9029 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2054, allocations: 0 / 0.9029 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.2057, allocations: 87.92 kB / 0.9029 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.206, allocations: 264.8 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.2062, allocations: 70.53 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2064, allocations: 52.86 kB / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2064, allocations: 0 / 0.9033 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2064, allocations: 38.55 kB / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2064, allocations: 0 / 0.9033 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005142/0.207, allocations: 153.6 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.207, allocations: 55.41 kB / 0.9035 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.2071, allocations: 121.8 kB / 0.9037 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.2071, allocations: 25.7 kB / 0.9037 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.2071, allocations: 88.03 kB / 0.9038 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.2072, allocations: 11.84 kB / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.2072, allocations: 0 / 0.9038 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.2072, allocations: 318.8 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.2074, allocations: 51.89 kB / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.2075, allocations: 36.16 kB / 0.9042 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.2076, allocations: 48.05 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2077, allocations: 0 / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003079/0.208, allocations: 121.6 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.208, allocations: 4 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.208, allocations: 3.938 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.208, allocations: 0 / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.2082, allocations: 23.98 kB / 0.9044 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2082, allocations: 0 / 0.9044 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.2083, allocations: 19.98 kB / 0.9044 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-06/0.2083, allocations: 3.953 kB / 0.9044 GB, free: 60.4 MB / 0.6042 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.405e-05/0.2083, allocations: 117.8 kB / 0.9045 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.2084, allocations: 11.89 kB / 0.9045 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.2084, allocations: 7.906 kB / 0.9045 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2084, allocations: 0 / 0.9045 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2084, allocations: 0 / 0.9045 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.2084, allocations: 0 / 0.9045 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2085, allocations: 177.6 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2086, allocations: 0 / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.782e-05/0.2087, allocations: 27.97 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2087, allocations: 3.938 kB / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.2087, allocations: 0 / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2087, allocations: 0 / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2087, allocations: 0 / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.209, allocations: 215.4 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.2091, allocations: 85.02 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2091, allocations: 3.984 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2092, allocations: 19.98 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.2092, allocations: 3.938 kB / 0.905 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.2092, allocations: 4 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.2093, allocations: 87.27 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2093, allocations: 0 / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001914/0.2095, allocations: 8 kB / 0.9051 GB, free: 59.54 MB / 0.6042 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.0001165/0.2096, allocations: 95.25 kB / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.2099, allocations: 95.92 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.21, allocations: 0 / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.2101, allocations: 47.95 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.2104, allocations: 7.953 kB / 0.9054 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.2106, allocations: 170.1 kB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.445e-05/0.2107, allocations: 0.6809 MB / 0.9062 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.2108, allocations: 7.438 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.2108, allocations: 0 / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.001845/0.2126, allocations: 0.7425 MB / 0.9069 GB, free: 57.65 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)