Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Components.Validation.Valves.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Templates.Components.Validation.Valves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Components.Validation.Valves") translateModel(Buildings.Templates.Components.Validation.Valves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Components.Validation.Valves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007334/0.0007333, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005068/0.005068, allocations: 173.7 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.175/3.175, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004109, allocations: 16.53 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4062, allocations: 162.2 MB / 1.074 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Valves): time 1.358/1.764, allocations: 0.601 GB / 1.675 GB, free: 12.06 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 1.071/2.835, allocations: 118.8 MB / 1.791 GB, free: 73.6 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03509/2.87, allocations: 0.5574 MB / 1.792 GB, free: 73.6 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.005889/2.876, allocations: 1.236 MB / 1.793 GB, free: 73.59 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.01459/2.891, allocations: 3.276 MB / 1.796 GB, free: 73.56 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.01322/2.904, allocations: 3.468 MB / 1.8 GB, free: 73.53 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.01639/2.92, allocations: 10.49 MB / 1.81 GB, free: 73.51 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006006/2.926, allocations: 2.752 MB / 1.812 GB, free: 73.17 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008243/2.935, allocations: 2.62 MB / 1.815 GB, free: 73.16 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006694/2.941, allocations: 2.234 MB / 1.817 GB, free: 73.16 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.001593/2.943, allocations: 102.9 kB / 1.817 GB, free: 73.16 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006377/2.949, allocations: 1.225 MB / 1.819 GB, free: 73.16 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.001943/2.951, allocations: 0.6306 MB / 1.819 GB, free: 73.16 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.004631/2.956, allocations: 1.587 MB / 1.821 GB, free: 73.12 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.008144/2.964, allocations: 5.029 MB / 1.826 GB, free: 73.01 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/2.964, allocations: 0 / 1.826 GB, free: 73.01 MB / 1.342 GB Notification: Performance of FrontEnd: time 2.755e-06/2.964, allocations: 0 / 1.826 GB, free: 73.01 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.0001888/2.964, allocations: 0 / 1.826 GB, free: 73.01 MB / 1.342 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.007944/2.972, allocations: 3.212 MB / 1.829 GB, free: 71.48 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/2.972, allocations: 9.469 kB / 1.829 GB, free: 71.48 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/2.974, allocations: 390.1 kB / 1.829 GB, free: 71.29 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/2.979, allocations: 2.638 MB / 1.832 GB, free: 70.61 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/2.979, allocations: 146.2 kB / 1.832 GB, free: 70.61 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003251/2.979, allocations: 193 kB / 1.832 GB, free: 70.61 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/2.983, allocations: 1.867 MB / 1.834 GB, free: 70.44 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/2.983, allocations: 2.281 kB / 1.834 GB, free: 70.44 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/2.983, allocations: 69.16 kB / 1.834 GB, free: 70.44 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.928e-05/2.983, allocations: 72.81 kB / 1.834 GB, free: 70.43 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/2.986, allocations: 1.39 MB / 1.835 GB, free: 70.41 MB / 1.342 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/2.999, allocations: 8.871 MB / 1.844 GB, free: 66.88 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/3, allocations: 0.6845 MB / 1.845 GB, free: 66.85 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/3.001, allocations: 412.4 kB / 1.845 GB, free: 66.84 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/3.001, allocations: 0.5104 MB / 1.846 GB, free: 66.28 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000913/3.002, allocations: 0.5451 MB / 1.846 GB, free: 66.2 MB / 1.342 GB Notification: Performance of pre-optimization done (n=81): time 2.544e-06/3.002, allocations: 0 / 1.846 GB, free: 66.2 MB / 1.342 GB Notification: Performance of matching and sorting (n=81): time 0.00287/3.005, allocations: 1.336 MB / 1.847 GB, free: 66.01 MB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/3.005, allocations: 92.92 kB / 1.847 GB, free: 65.92 MB / 1.342 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Components/Data/Valve.mo:15:3-21:68:writable] Warning: Parameter non.dat.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Templates/Components/Data/Valve.mo:9:3-14:68:writable] Warning: Parameter non.dat.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00428/3.01, allocations: 2.796 MB / 1.85 GB, free: 65.66 MB / 1.342 GB Notification: Performance of collectPreVariables (initialization): time 0.0003373/3.01, allocations: 59.45 kB / 1.85 GB, free: 65.62 MB / 1.342 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/3.011, allocations: 1.389 MB / 1.852 GB, free: 65.25 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/3.012, allocations: 281.6 kB / 1.852 GB, free: 65.08 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/3.012, allocations: 135 kB / 1.852 GB, free: 65.07 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/3.012, allocations: 360.2 kB / 1.852 GB, free: 64.76 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008856/3.013, allocations: 473.3 kB / 1.853 GB, free: 64.75 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/3.014, allocations: 0.8847 MB / 1.854 GB, free: 64.34 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/3.016, allocations: 1.166 MB / 1.855 GB, free: 64.04 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/3.016, allocations: 3.406 kB / 1.855 GB, free: 64.04 MB / 1.342 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003089/3.019, allocations: 1.592 MB / 1.856 GB, free: 63.85 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/3.019, allocations: 326 kB / 1.857 GB, free: 63.48 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/3.019, allocations: 7.75 kB / 1.857 GB, free: 63.48 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/3.019, allocations: 16.81 kB / 1.857 GB, free: 63.48 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/3.021, allocations: 468 kB / 1.857 GB, free: 63.46 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/3.023, allocations: 4.189 MB / 1.861 GB, free: 59.36 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/3.026, allocations: 312 kB / 1.862 GB, free: 59.26 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/3.027, allocations: 62.98 kB / 1.862 GB, free: 59.26 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/3.027, allocations: 3.344 kB / 1.862 GB, free: 59.26 MB / 1.342 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002171/3.029, allocations: 1.251 MB / 1.863 GB, free: 59.25 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/3.029, allocations: 9.75 kB / 1.863 GB, free: 59.25 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/3.029, allocations: 21.22 kB / 1.863 GB, free: 59.24 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/3.03, allocations: 360.9 kB / 1.863 GB, free: 59.24 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/3.03, allocations: 17.42 kB / 1.863 GB, free: 59.24 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/3.033, allocations: 287 kB / 1.863 GB, free: 59.16 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/3.033, allocations: 53.72 kB / 1.864 GB, free: 59.16 MB / 1.342 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition1,twoTwo.y0_actual.lesHys.y,$PRE.twoTwo.y0_actual.lesHys.y,twoTwo.y1_actual.greHys.y,$PRE.twoTwo.y1_actual.greHys.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],twoThr.y0_actual.lesHys.y,$PRE.twoThr.y0_actual.lesHys.y,twoThr.y1_actual.greHys.y,$PRE.twoThr.y1_actual.greHys.y,bus3.y1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001639/3.035, allocations: 0.7039 MB / 1.864 GB, free: 58.96 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007061/3.036, allocations: 288.9 kB / 1.864 GB, free: 58.8 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/3.038, allocations: 1.166 MB / 1.866 GB, free: 58.71 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/3.038, allocations: 10.09 kB / 1.866 GB, free: 58.71 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/3.038, allocations: 0 / 1.866 GB, free: 58.71 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001284/3.039, allocations: 1.12 MB / 1.867 GB, free: 58.26 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/3.044, allocations: 3.259 MB / 1.87 GB, free: 57.86 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/3.044, allocations: 2.844 kB / 1.87 GB, free: 57.86 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009965/3.045, allocations: 218.5 kB / 1.87 GB, free: 57.86 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/3.045, allocations: 2.219 kB / 1.87 GB, free: 57.86 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/3.045, allocations: 39.31 kB / 1.87 GB, free: 57.85 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/3.047, allocations: 4.149 MB / 1.874 GB, free: 53.75 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/3.047, allocations: 2.516 kB / 1.874 GB, free: 53.75 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/3.049, allocations: 1.701 MB / 1.876 GB, free: 53.4 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/3.051, allocations: 0.5373 MB / 1.876 GB, free: 53.13 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/3.051, allocations: 29.59 kB / 1.876 GB, free: 53.13 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/3.052, allocations: 151.8 kB / 1.877 GB, free: 53.12 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/3.053, allocations: 81.66 kB / 1.877 GB, free: 53.12 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/3.053, allocations: 42.45 kB / 1.877 GB, free: 53.12 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.003016/3.056, allocations: 1.869 MB / 1.879 GB, free: 52.97 MB / 1.342 GB Notification: Performance of sort global known variables: time 3.81e-07/3.056, allocations: 0 / 1.879 GB, free: 52.97 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.003412/3.059, allocations: 1.212 MB / 1.88 GB, free: 52.8 MB / 1.342 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (modThr.equLin.vol.dynBal.U,modThr.equLin.filter.s[1],modThr.equLin.filter.s[2],twoThr.linLin.vol.dynBal.U,twoThr.linLin.filter.s[1],twoThr.linLin.filter.s[2],modTwo.equ.filter.s[1],modTwo.equ.filter.s[2],twoTwo.lin.filter.s[1],twoTwo.lin.filter.s[2]) * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,bus3.y1,twoThr.y1_actual.greHys.y,twoThr.y0_actual.lesHys.y,y1.intTimTab.y[1],y1.intTimTab.idx,twoTwo.y1_actual.greHys.y,twoTwo.y0_actual.lesHys.y) * Number of discrete states: 4 (twoTwo.y0_actual.lesHys.y,twoTwo.y1_actual.greHys.y,twoThr.y0_actual.lesHys.y,twoThr.y1_actual.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009596/3.06, allocations: 453.7 kB / 1.88 GB, free: 52.64 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.004343/3.065, allocations: 1.898 MB / 1.882 GB, free: 52.61 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/3.065, allocations: 2.516 kB / 1.882 GB, free: 52.61 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/3.066, allocations: 0.519 MB / 1.883 GB, free: 52.61 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008653/3.074, allocations: 1.656 MB / 1.884 GB, free: 52.46 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007657/3.082, allocations: 5.844 MB / 1.89 GB, free: 49.52 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/3.083, allocations: 1.812 MB / 1.892 GB, free: 48.75 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003224/3.087, allocations: 0.5502 MB / 1.892 GB, free: 48.62 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005925/3.087, allocations: 192.2 kB / 1.892 GB, free: 48.62 MB / 1.342 GB Notification: Performance of SimCode: time 9.22e-07/3.087, allocations: 4 kB / 1.892 GB, free: 48.62 MB / 1.342 GB Notification: Performance of Templates: time 0.09067/3.178, allocations: 53.78 MB / 1.945 GB, free: 25.92 MB / 1.342 GB make -j1 -f Buildings_1.6_Buildings.Templates.Components.Validation.Valves.makefile (rm -f Buildings_1.6_Buildings.Templates.Components.Validation.Valves.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Components.Validation.Valves.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Components.Validation.Valves.pipe >> ../files/Buildings_1.6_Buildings.Templates.Components.Validation.Valves.sim & ./Buildings_1.6_Buildings.Templates.Components.Validation.Valves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Components.Validation.Valves.pipe 2>&1)