Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007069/0.007069, allocations: 170.1 kB / 16.27 MB, free: 6.648 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.491/1.491, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.01/3.01, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.000414, allocations: 7.969 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3452, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.1901/0.5353, allocations: 179.4 MB / 1.249 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7112/1.247, allocations: 10.36 MB / 1.259 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/1.248, allocations: 26.03 kB / 1.26 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/1.25, allocations: 373.2 kB / 1.26 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004241/1.254, allocations: 1.228 MB / 1.261 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005741/1.26, allocations: 1.566 MB / 1.263 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00473/1.265, allocations: 3.192 MB / 1.266 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/1.266, allocations: 0.965 MB / 1.267 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/1.269, allocations: 1.123 MB / 1.268 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/1.271, allocations: 1.192 MB / 1.269 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002764/1.271, allocations: 81.31 kB / 1.269 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/1.275, allocations: 1.588 MB / 1.271 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006294/1.276, allocations: 0.4944 MB / 1.271 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/1.277, allocations: 0.7688 MB / 1.272 GB, free: 21.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004221/1.281, allocations: 2.597 MB / 1.274 GB, free: 21.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.281, allocations: 5.859 kB / 1.274 GB, free: 21.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.834e-06/1.281, allocations: 0 / 1.274 GB, free: 21.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.389e-05/1.281, allocations: 0 / 1.274 GB, free: 21.75 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.005312/1.286, allocations: 1.925 MB / 1.276 GB, free: 20.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.286, allocations: 8.375 kB / 1.276 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/1.288, allocations: 232 kB / 1.276 GB, free: 20.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/1.29, allocations: 1.395 MB / 1.278 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/1.29, allocations: 69.66 kB / 1.278 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/1.291, allocations: 88.84 kB / 1.278 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/1.293, allocations: 1.018 MB / 1.279 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/1.293, allocations: 4.5 kB / 1.279 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/1.293, allocations: 30.06 kB / 1.279 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/1.293, allocations: 19.41 kB / 1.279 GB, free: 20.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/1.295, allocations: 0.9158 MB / 1.28 GB, free: 20.06 MB / 1.014 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.007591/1.303, allocations: 4.77 MB / 1.285 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/1.304, allocations: 0.7656 MB / 1.285 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008326/1.305, allocations: 435.6 kB / 1.286 GB, free: 17.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004338/1.306, allocations: 283.4 kB / 1.286 GB, free: 17.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/1.306, allocations: 40.62 kB / 1.286 GB, free: 17.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 2.685e-06/1.306, allocations: 0 / 1.286 GB, free: 17.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.00598/1.312, allocations: 1.627 MB / 1.288 GB, free: 17.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/1.312, allocations: 62.81 kB / 1.288 GB, free: 17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003327/1.315, allocations: 1.84 MB / 1.289 GB, free: 16.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000389/1.315, allocations: 43.55 kB / 1.289 GB, free: 16.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/1.316, allocations: 0.5835 MB / 1.29 GB, free: 16.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/1.316, allocations: 173.4 kB / 1.29 GB, free: 16.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/1.316, allocations: 100.5 kB / 1.29 GB, free: 16.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.316, allocations: 344.7 kB / 1.291 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/1.318, allocations: 0.9664 MB / 1.292 GB, free: 16.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/1.32, allocations: 1.318 MB / 1.293 GB, free: 15.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/1.323, allocations: 1.557 MB / 1.294 GB, free: 15.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.323, allocations: 1.969 kB / 1.294 GB, free: 15.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004687/1.328, allocations: 2.201 MB / 1.297 GB, free: 15.47 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/1.328, allocations: 236 kB / 1.297 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/1.328, allocations: 5.469 kB / 1.297 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008666/1.329, allocations: 147.9 kB / 1.297 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/1.33, allocations: 181.3 kB / 1.297 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/1.331, allocations: 1.32 MB / 1.298 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002009/1.333, allocations: 233 kB / 1.299 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.333, allocations: 38.5 kB / 1.299 GB, free: 14.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/1.333, allocations: 4.156 kB / 1.299 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003544/1.337, allocations: 1.977 MB / 1.301 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.337, allocations: 4.781 kB / 1.301 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/1.337, allocations: 7.688 kB / 1.301 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/1.338, allocations: 197.1 kB / 1.301 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.338, allocations: 14.03 kB / 1.301 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/1.34, allocations: 211.8 kB / 1.301 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.34, allocations: 31.58 kB / 1.301 GB, free: 13.91 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[13],damPreInd.idx_sorted[12],damPreInd.idx_sorted[11],damPreInd.idx_sorted[10],damPreInd.idx_sorted[9],damPreInd.idx_sorted[8],damPreInd.idx_sorted[7],damPreInd.idx_sorted[6],damPreInd.idx_sorted[5],damPreInd.idx_sorted[4],damPreInd.idx_sorted[3],damPreInd.idx_sorted[2],damPreInd.idx_sorted[1],conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007974/1.341, allocations: 396.3 kB / 1.301 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/1.341, allocations: 132.3 kB / 1.302 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/1.344, allocations: 1.047 MB / 1.303 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.344, allocations: 6.562 kB / 1.303 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.344, allocations: 3.984 kB / 1.303 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.344, allocations: 3.188 kB / 1.303 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004287/1.348, allocations: 2.275 MB / 1.305 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.348, allocations: 6.844 kB / 1.305 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/1.349, allocations: 118.7 kB / 1.305 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007498/1.349, allocations: 143.1 kB / 1.305 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/1.349, allocations: 17.06 kB / 1.305 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/1.35, allocations: 1.314 MB / 1.306 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.35, allocations: 6.688 kB / 1.306 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/1.354, allocations: 1.643 MB / 1.308 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008719/1.354, allocations: 335.1 kB / 1.308 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004874/1.355, allocations: 17.25 kB / 1.308 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.356, allocations: 92.64 kB / 1.308 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.357, allocations: 39.73 kB / 1.308 GB, free: 11.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/1.357, allocations: 21.84 kB / 1.308 GB, free: 11.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002731/1.359, allocations: 1.315 MB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.359, allocations: 0 / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003992/1.363, allocations: 0.6806 MB / 1.31 GB, free: 11.32 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001266/1.365, allocations: 358.3 kB / 1.311 GB, free: 11.18 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005937/1.371, allocations: 2.794 MB / 1.313 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/1.371, allocations: 2.906 kB / 1.313 GB, free: 11.08 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009879/1.372, allocations: 461.6 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/1.375, allocations: 447.9 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/1.38, allocations: 2.613 MB / 1.317 GB, free: 9.738 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.381, allocations: 1.169 MB / 1.318 GB, free: 9.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002597/1.384, allocations: 383.4 kB / 1.318 GB, free: 8.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008756/1.385, allocations: 99.17 kB / 1.318 GB, free: 8.902 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/1.385, allocations: 0 / 1.318 GB, free: 8.902 MB / 1.014 GB Notification: Performance of Templates: time 0.05427/1.439, allocations: 28.58 MB / 1.346 GB, free: 13.71 MB / 1.029 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)