Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001039/0.001039, allocations: 90.45 kB / 16.67 MB, free: 6.586 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.001287/0.001286, allocations: 178.8 kB / 17.58 MB, free: 6.184 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.377/1.377, allocations: 223.3 MB / 241.6 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7413/0.7413, allocations: 115.5 MB / 408.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003532, allocations: 12 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4276, allocations: 77.51 MB / 0.5606 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.2078/0.6354, allocations: 179.4 MB / 0.7358 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.6512, allocations: 10.38 MB / 0.7459 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.6531, allocations: 23.88 kB / 0.746 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.6547, allocations: 369.7 kB / 0.7463 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.6589, allocations: 1.237 MB / 0.7475 GB, free: 3.406 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005048/0.664, allocations: 1.562 MB / 0.749 GB, free: 1.863 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.3963/1.06, allocations: 3.189 MB / 0.7522 GB, free: 3.359 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/1.063, allocations: 0.9528 MB / 0.7531 GB, free: 3.277 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003498/1.066, allocations: 1.122 MB / 0.7542 GB, free: 3.273 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/1.069, allocations: 1.197 MB / 0.7553 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0006641/1.07, allocations: 81.12 kB / 0.7554 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004489/1.074, allocations: 1.588 MB / 0.757 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001207/1.076, allocations: 0.4916 MB / 0.7575 GB, free: 3.27 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/1.077, allocations: 0.7716 MB / 0.7582 GB, free: 3.238 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.003988/1.081, allocations: 1.924 MB / 0.7601 GB, free: 3.191 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.081, allocations: 1.812 kB / 0.7601 GB, free: 3.191 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.934e-06/1.081, allocations: 0 / 0.7601 GB, free: 3.191 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.048e-05/1.081, allocations: 0 / 0.7601 GB, free: 3.191 MB / 0.5763 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.0064/1.088, allocations: 1.928 MB / 0.762 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.088, allocations: 17.84 kB / 0.762 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/1.089, allocations: 227.4 kB / 0.7622 GB, free: 18.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/1.092, allocations: 1.39 MB / 0.7636 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-05/1.092, allocations: 66.56 kB / 0.7636 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002708/1.093, allocations: 86.78 kB / 0.7637 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/1.095, allocations: 1.015 MB / 0.7647 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.095, allocations: 1.031 kB / 0.7647 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/1.095, allocations: 26.16 kB / 0.7647 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/1.095, allocations: 21.84 kB / 0.7647 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/1.097, allocations: 0.9233 MB / 0.7656 GB, free: 17.51 MB / 0.5919 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.009298/1.106, allocations: 4.779 MB / 0.7703 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/1.108, allocations: 0.7618 MB / 0.7711 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008836/1.109, allocations: 442.9 kB / 0.7715 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/1.109, allocations: 278.5 kB / 0.7717 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/1.109, allocations: 47.67 kB / 0.7718 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.885e-06/1.109, allocations: 1.5 kB / 0.7718 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.005944/1.115, allocations: 1.626 MB / 0.7734 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/1.116, allocations: 60.08 kB / 0.7734 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/1.119, allocations: 1.839 MB / 0.7752 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005002/1.12, allocations: 38.92 kB / 0.7753 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000551/1.121, allocations: 0.5881 MB / 0.7758 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/1.121, allocations: 169.1 kB / 0.776 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/1.121, allocations: 98.98 kB / 0.7761 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003587/1.121, allocations: 350.4 kB / 0.7764 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/1.123, allocations: 0.9653 MB / 0.7774 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/1.126, allocations: 1.313 MB / 0.7787 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/1.128, allocations: 1.555 MB / 0.7802 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.128, allocations: 2.688 kB / 0.7802 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004187/1.132, allocations: 2.204 MB / 0.7823 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/1.132, allocations: 234.3 kB / 0.7826 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/1.132, allocations: 3.5 kB / 0.7826 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009052/1.133, allocations: 151.2 kB / 0.7827 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.134, allocations: 181.5 kB / 0.7829 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/1.135, allocations: 1.323 MB / 0.7842 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/1.138, allocations: 241 kB / 0.7844 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/1.138, allocations: 37.23 kB / 0.7844 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.138, allocations: 3.5 kB / 0.7844 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003493/1.141, allocations: 1.98 MB / 0.7864 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.141, allocations: 6 kB / 0.7864 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/1.141, allocations: 8.781 kB / 0.7864 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009921/1.142, allocations: 183 kB / 0.7866 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.142, allocations: 16.38 kB / 0.7866 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/1.145, allocations: 210.2 kB / 0.7868 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/1.145, allocations: 36.84 kB / 0.7868 GB, free: 11.38 MB / 0.5919 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.0008487/1.146, allocations: 391.9 kB / 0.7872 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003999/1.146, allocations: 128.6 kB / 0.7873 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/1.148, allocations: 1.052 MB / 0.7883 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/1.148, allocations: 10.12 kB / 0.7883 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.148, allocations: 0 / 0.7883 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/1.148, allocations: 6.656 kB / 0.7884 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004022/1.152, allocations: 2.276 MB / 0.7906 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.152, allocations: 0 / 0.7906 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/1.153, allocations: 123 kB / 0.7907 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007015/1.154, allocations: 143 kB / 0.7908 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/1.154, allocations: 21.36 kB / 0.7909 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009756/1.155, allocations: 1.313 MB / 0.7921 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.155, allocations: 3.344 kB / 0.7921 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/1.157, allocations: 1.641 MB / 0.7937 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007072/1.158, allocations: 328.2 kB / 0.7941 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/1.158, allocations: 10.97 kB / 0.7941 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.16, allocations: 99.11 kB / 0.7942 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.16, allocations: 48.3 kB / 0.7942 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/1.16, allocations: 20.92 kB / 0.7942 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001738/1.161, allocations: 1.312 MB / 0.7955 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/1.161, allocations: 0 / 0.7955 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002733/1.164, allocations: 0.6817 MB / 0.7962 GB, free: 8.785 MB / 0.5919 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.001068/1.165, allocations: 341.7 kB / 0.7965 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005303/1.171, allocations: 2.798 MB / 0.7992 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.171, allocations: 0 / 0.7992 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009611/1.172, allocations: 462.5 kB / 0.7997 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/1.175, allocations: 444.4 kB / 0.8001 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/1.179, allocations: 2.682 MB / 0.8027 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/1.18, allocations: 1.167 MB / 0.8039 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008709/1.181, allocations: 108.3 kB / 0.804 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/1.181, allocations: 0 / 0.804 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of Templates: time 0.04931/1.23, allocations: 31.74 MB / 0.8349 GB, free: 13.51 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)