Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001616/0.001616, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001983/0.001983, allocations: 190.8 kB / 16.14 MB, free: 6.688 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 472.6 MB / 0.7447 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002653, allocations: 62.56 kB / 0.9113 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4574, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.221/0.6784, allocations: 181.9 MB / 1.245 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7219/1.4, allocations: 10.49 MB / 1.255 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/1.403, allocations: 29.62 kB / 1.255 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001612/1.404, allocations: 378.6 kB / 1.256 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003838/1.408, allocations: 1.229 MB / 1.257 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004958/1.413, allocations: 1.554 MB / 1.258 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005152/1.418, allocations: 3.197 MB / 1.262 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/1.42, allocations: 0.9821 MB / 1.263 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/1.423, allocations: 1.151 MB / 1.264 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/1.425, allocations: 1.224 MB / 1.265 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003829/1.426, allocations: 93.22 kB / 1.265 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/1.429, allocations: 1.598 MB / 1.267 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008544/1.43, allocations: 0.5139 MB / 1.267 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001391/1.432, allocations: 0.7673 MB / 1.268 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004575/1.436, allocations: 2.632 MB / 1.27 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.436, allocations: 1.312 kB / 1.27 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/1.436, allocations: 0 / 1.27 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.596e-05/1.436, allocations: 0 / 1.27 GB, free: 5.223 MB / 0.9981 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.007645/1.444, allocations: 2.241 MB / 1.273 GB, free: 20.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.444, allocations: 9.438 kB / 1.273 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/1.446, allocations: 231.1 kB / 1.273 GB, free: 20.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/1.448, allocations: 1.393 MB / 1.274 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/1.448, allocations: 63.59 kB / 1.274 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/1.449, allocations: 89.41 kB / 1.274 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/1.451, allocations: 0.9953 MB / 1.275 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/1.451, allocations: 8.562 kB / 1.275 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.792e-05/1.451, allocations: 33.48 kB / 1.275 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/1.451, allocations: 18.66 kB / 1.275 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/1.453, allocations: 0.8833 MB / 1.276 GB, free: 19.47 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.009564/1.463, allocations: 4.79 MB / 1.281 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/1.465, allocations: 0.7549 MB / 1.282 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000777/1.465, allocations: 417.9 kB / 1.282 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004788/1.466, allocations: 282.9 kB / 1.282 GB, free: 16.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/1.466, allocations: 38.78 kB / 1.282 GB, free: 16.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 3.807e-06/1.466, allocations: 1.469 kB / 1.282 GB, free: 16.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.005796/1.472, allocations: 1.574 MB / 1.284 GB, free: 16.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/1.472, allocations: 64.19 kB / 1.284 GB, free: 16.41 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/1.475, allocations: 1.839 MB / 1.286 GB, free: 16.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004192/1.475, allocations: 40.98 kB / 1.286 GB, free: 16.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005328/1.476, allocations: 0.5807 MB / 1.286 GB, free: 16.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/1.476, allocations: 170.9 kB / 1.286 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/1.477, allocations: 218.7 kB / 1.287 GB, free: 15.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.477, allocations: 345.4 kB / 1.287 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/1.479, allocations: 0.9556 MB / 1.288 GB, free: 15.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/1.481, allocations: 1.297 MB / 1.289 GB, free: 15.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/1.483, allocations: 1.524 MB / 1.291 GB, free: 15.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.483, allocations: 5.25 kB / 1.291 GB, free: 15.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004633/1.488, allocations: 2.173 MB / 1.293 GB, free: 14.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/1.488, allocations: 6.406 kB / 1.293 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.488, allocations: 5.281 kB / 1.293 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009235/1.489, allocations: 147.1 kB / 1.293 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.49, allocations: 171 kB / 1.293 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/1.491, allocations: 1.323 MB / 1.294 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/1.493, allocations: 210.3 kB / 1.295 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.493, allocations: 35.12 kB / 1.295 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002359/1.496, allocations: 1.187 MB / 1.296 GB, free: 13.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001927/1.498, allocations: 1.293 MB / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002388/1.5, allocations: 1.505 MB / 1.299 GB, free: 13.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/1.5, allocations: 1.188 kB / 1.299 GB, free: 13.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.004246/1.504, allocations: 2.094 MB / 1.301 GB, free: 12.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.504, allocations: 7.031 kB / 1.301 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.504, allocations: 8.656 kB / 1.301 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/1.505, allocations: 11.94 kB / 1.301 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009769/1.505, allocations: 183.8 kB / 1.301 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.506, allocations: 11.83 kB / 1.301 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/1.508, allocations: 210.1 kB / 1.301 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.508, allocations: 33.66 kB / 1.301 GB, free: 12.83 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.0003412/1.508, allocations: 236.6 kB / 1.301 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/1.508, allocations: 132.1 kB / 1.301 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/1.511, allocations: 1.019 MB / 1.302 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/1.511, allocations: 5.094 kB / 1.302 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.511, allocations: 4 kB / 1.302 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.511, allocations: 3.047 kB / 1.302 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/1.514, allocations: 2.249 MB / 1.305 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.514, allocations: 0 / 1.305 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/1.515, allocations: 110.8 kB / 1.305 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006981/1.516, allocations: 144.5 kB / 1.305 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/1.516, allocations: 15.94 kB / 1.305 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009682/1.517, allocations: 1.307 MB / 1.306 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.517, allocations: 6.094 kB / 1.306 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/1.519, allocations: 1.597 MB / 1.308 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/1.52, allocations: 317.3 kB / 1.308 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.52, allocations: 12.34 kB / 1.308 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.521, allocations: 90.06 kB / 1.308 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.521, allocations: 48.56 kB / 1.308 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/1.521, allocations: 19.88 kB / 1.308 GB, free: 10.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001631/1.523, allocations: 1.312 MB / 1.309 GB, free: 10.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.523, allocations: 0 / 1.309 GB, free: 10.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002342/1.525, allocations: 0.6802 MB / 1.31 GB, free: 10.26 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.0007905/1.526, allocations: 349.8 kB / 1.31 GB, free: 10.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004807/1.531, allocations: 2.739 MB / 1.313 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.531, allocations: 3.219 kB / 1.313 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009757/1.532, allocations: 446.8 kB / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/1.534, allocations: 442.2 kB / 1.314 GB, free: 9.996 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/1.538, allocations: 2.606 MB / 1.316 GB, free: 8.688 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007638/1.538, allocations: 1.158 MB / 1.318 GB, free: 7.973 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001785/1.54, allocations: 376.7 kB / 1.318 GB, free: 7.871 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/1.541, allocations: 99.09 kB / 1.318 GB, free: 7.867 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.541, allocations: 0 / 1.318 GB, free: 7.867 MB / 1.014 GB Notification: Performance of Templates: time 0.05014/1.591, allocations: 28.99 MB / 1.346 GB, free: 13.14 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)