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.445/1.445, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001194/0.001194, allocations: 170.2 kB / 326.5 MB, free: 2.652 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.821/1.821, allocations: 205 MB / 0.5766 GB, free: 20.61 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.0009208/0.0009208, allocations: 102.2 kB / 0.6804 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003592, allocations: 11.66 kB / 0.7938 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1794, allocations: 105.4 MB / 0.8968 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001302/0.1808, allocations: 1.145 MB / 0.8979 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002615/0.1811, allocations: 121.4 kB / 0.898 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.1811, allocations: 0 / 0.898 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.1812, allocations: 3.984 kB / 0.898 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.1812, allocations: 7.938 kB / 0.898 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.397e-05/0.1813, allocations: 4 kB / 0.898 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.1814, allocations: 47.78 kB / 0.8981 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.1815, allocations: 8.281 kB / 0.8981 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.1815, allocations: 19.97 kB / 0.8981 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.748e-05/0.1816, allocations: 19.92 kB / 0.8981 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1816, allocations: 0 / 0.8981 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.1816, allocations: 4 kB / 0.8981 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.1816, allocations: 11.86 kB / 0.8981 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.1817, allocations: 11.94 kB / 0.8981 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.263e-05/0.1817, allocations: 31.88 kB / 0.8982 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1817, allocations: 4 kB / 0.8982 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1817, allocations: 0 / 0.8982 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.1817, allocations: 0 / 0.8982 GB, free: 66.19 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.0004025/0.1822, allocations: 371.3 kB / 0.8985 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1822, allocations: 15.97 kB / 0.8985 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.048e-05/0.1822, allocations: 0.9375 kB / 0.8985 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.028e-05/0.1823, allocations: 168.3 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1823, allocations: 384 / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1824, allocations: 4.375 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.1826, allocations: 86.14 kB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1826, allocations: 192 / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1826, allocations: 7.938 kB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1826, allocations: 0 / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.1829, allocations: 83.92 kB / 0.8989 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.1832, allocations: 269 kB / 0.8991 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1834, allocations: 74.41 kB / 0.8992 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1835, allocations: 48.92 kB / 0.8992 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1835, allocations: 0 / 0.8992 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.1836, allocations: 34.55 kB / 0.8993 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1836, allocations: 4 kB / 0.8993 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004735/0.184, allocations: 161.5 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.1841, allocations: 51.41 kB / 0.8995 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.1841, allocations: 114.1 kB / 0.8996 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.1841, allocations: 29.64 kB / 0.8996 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.1842, allocations: 84.12 kB / 0.8997 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.1842, allocations: 15.84 kB / 0.8997 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.1842, allocations: 13.72 kB / 0.8997 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.1843, allocations: 310.8 kB / 0.9 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1844, allocations: 43.95 kB / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1846, allocations: 43.97 kB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.1848, allocations: 89.06 kB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1848, allocations: 3.938 kB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002831/0.1851, allocations: 125.5 kB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1851, allocations: 4 kB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1851, allocations: 0 / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1851, allocations: 0 / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1853, allocations: 35.91 kB / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1853, allocations: 4.062 kB / 0.9004 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.1854, allocations: 15.98 kB / 0.9004 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1854, allocations: 11.94 kB / 0.9004 GB, free: 63.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.1854, allocations: 117.7 kB / 0.9005 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.1855, allocations: 4 kB / 0.9005 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.1855, allocations: 7.906 kB / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1855, allocations: 0 / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1855, allocations: 0 / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1855, allocations: 0 / 0.9005 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.1856, allocations: 173.6 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1856, allocations: 0 / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-05/0.1857, allocations: 23.98 kB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1857, allocations: 0 / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.1857, allocations: 0 / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1857, allocations: 0 / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1857, allocations: 4 kB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.1861, allocations: 231.2 kB / 0.9009 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.1861, allocations: 77.11 kB / 0.901 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1861, allocations: 0 / 0.901 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.1862, allocations: 19.98 kB / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.1862, allocations: 3.984 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.1863, allocations: 4 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.469e-05/0.1863, allocations: 83.28 kB / 0.9011 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1863, allocations: 0 / 0.9011 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001953/0.1865, allocations: 8 kB / 0.9011 GB, free: 62.84 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 (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.0001075/0.1866, allocations: 103.2 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.1869, allocations: 91.92 kB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1869, allocations: 0 / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1871, allocations: 51.91 kB / 0.9013 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.1873, allocations: 15.86 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002494/0.1876, allocations: 164.7 kB / 0.9015 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.532e-05/0.1877, allocations: 0.6809 MB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.1877, allocations: 7.438 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/0.1877, allocations: 4 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.001661/0.1894, allocations: 0.7384 MB / 0.9029 GB, free: 60.94 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)