Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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="mat",numberOfIntervals=5000,variableFilter="time|damPreInd.m_flow|damExp.m_flow|damExpPI.m_flow|damPreInd.y|damPreInd.y_actual",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damPreInd.m_flow|damExp.m_flow|damExpPI.m_flow|damPreInd.y|damPreInd.y_actual",fileNamePrefix="Buildings_9_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.001148/0.001152, allocations: 111 kB / 16.42 MB, free: 6.492 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.00118/0.00118, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7842, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.2299/1.014, allocations: 184.1 MB / 1.268 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01589/1.03, allocations: 10.42 MB / 1.279 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/1.032, allocations: 27.81 kB / 1.279 GB, free: 11.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/1.034, allocations: 460.7 kB / 1.279 GB, free: 10.59 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004344/1.038, allocations: 1.384 MB / 1.28 GB, free: 9.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004755/1.043, allocations: 1.771 MB / 1.282 GB, free: 7.438 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003195/1.046, allocations: 2.61 MB / 1.285 GB, free: 4.816 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/1.048, allocations: 1.117 MB / 1.286 GB, free: 3.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/1.05, allocations: 1.3 MB / 1.287 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/1.052, allocations: 1.269 MB / 1.288 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003058/1.052, allocations: 168 kB / 1.288 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/1.055, allocations: 1.563 MB / 1.29 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000599/1.055, allocations: 0.5765 MB / 1.291 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009287/1.056, allocations: 0.859 MB / 1.291 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003585/1.06, allocations: 2.672 MB / 1.294 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.06, allocations: 3.938 kB / 1.294 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.974e-06/1.06, allocations: 0 / 1.294 GB, free: 11.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.375e-05/1.06, allocations: 0 / 1.294 GB, free: 11.25 MB / 1.029 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.005235/1.065, allocations: 2.236 MB / 1.296 GB, free: 8.957 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.065, allocations: 8.031 kB / 1.296 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/1.066, allocations: 233.8 kB / 1.296 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/1.069, allocations: 1.41 MB / 1.298 GB, free: 7.254 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/1.069, allocations: 62 kB / 1.298 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/1.069, allocations: 95.94 kB / 1.298 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/1.071, allocations: 0.9901 MB / 1.299 GB, free: 6.047 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/1.071, allocations: 11.94 kB / 1.299 GB, free: 6.035 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/1.071, allocations: 28 kB / 1.299 GB, free: 6.008 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/1.071, allocations: 16 kB / 1.299 GB, free: 5.992 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/1.072, allocations: 0.8871 MB / 1.3 GB, free: 5.105 MB / 1.029 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.006641/1.079, allocations: 4.787 MB / 1.305 GB, free: 92 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/1.081, allocations: 0.758 MB / 1.305 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000782/1.081, allocations: 411.2 kB / 1.306 GB, free: 14.92 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003612/1.082, allocations: 284.6 kB / 1.306 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/1.082, allocations: 35 kB / 1.306 GB, free: 14.55 MB / 1.045 GB Notification: Performance of pre-optimization done (n=50): time 2.776e-06/1.082, allocations: 3.938 kB / 1.306 GB, free: 14.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=50): time 0.004871/1.087, allocations: 1.577 MB / 1.307 GB, free: 12.94 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/1.087, allocations: 55.84 kB / 1.308 GB, free: 12.87 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/1.089, allocations: 1.836 MB / 1.309 GB, free: 11.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/1.089, allocations: 41.7 kB / 1.309 GB, free: 10.98 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/1.09, allocations: 0.5833 MB / 1.31 GB, free: 10.39 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/1.09, allocations: 177.4 kB / 1.31 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004044/1.091, allocations: 222.5 kB / 1.31 GB, free: 9.988 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.091, allocations: 345.9 kB / 1.311 GB, free: 9.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/1.092, allocations: 0.9573 MB / 1.312 GB, free: 8.684 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/1.094, allocations: 1.287 MB / 1.313 GB, free: 7.254 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/1.097, allocations: 1.53 MB / 1.314 GB, free: 5.664 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.097, allocations: 0 / 1.314 GB, free: 5.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004379/1.101, allocations: 2.169 MB / 1.316 GB, free: 3.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/1.101, allocations: 8 kB / 1.316 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/1.101, allocations: 4 kB / 1.316 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009687/1.102, allocations: 157 kB / 1.317 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/1.103, allocations: 171.7 kB / 1.317 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/1.104, allocations: 1.31 MB / 1.318 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/1.106, allocations: 206.5 kB / 1.318 GB, free: 1.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.106, allocations: 31.98 kB / 1.318 GB, free: 1.551 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002111/1.109, allocations: 1.193 MB / 1.319 GB, free: 364 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001936/1.111, allocations: 1.287 MB / 1.321 GB, free: 14.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002385/1.113, allocations: 1.511 MB / 1.322 GB, free: 13.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/1.113, allocations: 0 / 1.322 GB, free: 13.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.004069/1.117, allocations: 2.094 MB / 1.324 GB, free: 11.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.117, allocations: 8 kB / 1.324 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/1.117, allocations: 4 kB / 1.324 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.117, allocations: 8 kB / 1.324 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.118, allocations: 183.7 kB / 1.324 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/1.118, allocations: 20.27 kB / 1.324 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/1.12, allocations: 187.8 kB / 1.325 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/1.12, allocations: 35.92 kB / 1.325 GB, free: 10.82 MB / 1.061 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.0003237/1.12, allocations: 224.7 kB / 1.325 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/1.121, allocations: 130.3 kB / 1.325 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/1.123, allocations: 1.013 MB / 1.326 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.123, allocations: 7.984 kB / 1.326 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.123, allocations: 0 / 1.326 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/1.124, allocations: 315.1 kB / 1.326 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/1.124, allocations: 12 kB / 1.326 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.125, allocations: 63.91 kB / 1.326 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.125, allocations: 40.5 kB / 1.326 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00273/1.128, allocations: 1.066 MB / 1.327 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002722/1.13, allocations: 1.581 MB / 1.329 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007488/1.131, allocations: 388.2 kB / 1.329 GB, free: 5.918 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001879/1.133, allocations: 1.313 MB / 1.331 GB, free: 4.605 MB / 1.061 GB Notification: Performance of Backend: time 3.6e-07/1.133, allocations: 0 / 1.331 GB, free: 4.605 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006183/1.139, allocations: 2.818 MB / 1.333 GB, free: 1.785 MB / 1.061 GB Notification: Performance of SimCode: time 0.004581/1.144, allocations: 2.781 MB / 1.336 GB, free: 14.96 MB / 1.076 GB Notification: Performance of Templates: time 0.06218/1.206, allocations: 37.01 MB / 1.372 GB, free: 10.21 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)