Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.573/1.573, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001153, allocations: 189 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 0.5775 GB, free: 20.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009202/0.0009203, allocations: 89.98 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 9.156 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2422, allocations: 106.3 MB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent): time 0.1799/0.4222, allocations: 153.7 MB / 1.05 GB, free: 6.23 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5985/1.021, allocations: 11.86 MB / 1.062 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/1.023, allocations: 39.78 kB / 1.062 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/1.025, allocations: 0.518 MB / 1.062 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005227/1.03, allocations: 1.341 MB / 1.064 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00906/1.039, allocations: 2.482 MB / 1.066 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00392/1.043, allocations: 1.453 MB / 1.068 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/1.045, allocations: 0.8354 MB / 1.068 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003442/1.048, allocations: 1.042 MB / 1.069 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/1.05, allocations: 0.6807 MB / 1.07 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000436/1.051, allocations: 59.28 kB / 1.07 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004024/1.055, allocations: 1.128 MB / 1.071 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008497/1.056, allocations: 422.7 kB / 1.072 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/1.057, allocations: 265.7 kB / 1.072 GB, free: 19.59 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003854/1.061, allocations: 1.673 MB / 1.074 GB, free: 19.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.061, allocations: 0 / 1.074 GB, free: 19.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.366e-06/1.061, allocations: 0.9062 kB / 1.074 GB, free: 19.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.156e-05/1.061, allocations: 0 / 1.074 GB, free: 19.46 MB / 0.7136 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.00585/1.067, allocations: 1.845 MB / 1.075 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.067, allocations: 9.906 kB / 1.075 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/1.067, allocations: 114.2 kB / 1.075 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/1.069, allocations: 282.5 kB / 1.076 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003573/1.072, allocations: 1.281 MB / 1.077 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.961e-05/1.072, allocations: 61.59 kB / 1.077 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/1.073, allocations: 84.59 kB / 1.077 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/1.075, allocations: 1.014 MB / 1.078 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/1.075, allocations: 6.734 kB / 1.078 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/1.075, allocations: 28.88 kB / 1.078 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/1.075, allocations: 21.73 kB / 1.078 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/1.077, allocations: 0.9459 MB / 1.079 GB, free: 17.78 MB / 0.7136 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.007556/1.085, allocations: 4.336 MB / 1.083 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/1.087, allocations: 0.8102 MB / 1.084 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/1.087, allocations: 97.47 kB / 1.084 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/1.087, allocations: 37.77 kB / 1.084 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=50): time 3.617e-06/1.087, allocations: 0 / 1.084 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=50): time 0.005877/1.093, allocations: 1.661 MB / 1.086 GB, free: 15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/1.093, allocations: 58.19 kB / 1.086 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003579/1.096, allocations: 1.814 MB / 1.088 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002755/1.097, allocations: 43.08 kB / 1.088 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/1.097, allocations: 0.588 MB / 1.088 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/1.097, allocations: 173.9 kB / 1.088 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/1.098, allocations: 12.5 kB / 1.088 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.098, allocations: 345.2 kB / 1.089 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/1.099, allocations: 0.8354 MB / 1.09 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/1.1, allocations: 1.169 MB / 1.091 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/1.102, allocations: 0.9139 MB / 1.092 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.102, allocations: 2.438 kB / 1.092 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003905/1.106, allocations: 2.118 MB / 1.094 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008251/1.107, allocations: 1.863 MB / 1.096 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.107, allocations: 13.16 kB / 1.096 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009416/1.108, allocations: 156 kB / 1.096 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008502/1.108, allocations: 183.1 kB / 1.096 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/1.11, allocations: 1.317 MB / 1.097 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/1.112, allocations: 236.5 kB / 1.097 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.112, allocations: 35.05 kB / 1.097 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.112, allocations: 3.031 kB / 1.097 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003251/1.115, allocations: 1.906 MB / 1.099 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/1.115, allocations: 3.312 kB / 1.099 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.115, allocations: 10.72 kB / 1.099 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/1.116, allocations: 197.8 kB / 1.099 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.116, allocations: 8.562 kB / 1.099 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/1.119, allocations: 221.9 kB / 1.1 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/1.119, allocations: 36.94 kB / 1.1 GB, free: 10.32 MB / 0.7136 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[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008703/1.12, allocations: 388.6 kB / 1.1 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/1.12, allocations: 127.7 kB / 1.1 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/1.122, allocations: 1.064 MB / 1.101 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/1.122, allocations: 9.578 kB / 1.101 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.122, allocations: 3.953 kB / 1.101 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.122, allocations: 3.141 kB / 1.101 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004416/1.127, allocations: 2.312 MB / 1.104 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.127, allocations: 2.812 kB / 1.104 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/1.127, allocations: 130.1 kB / 1.104 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007337/1.128, allocations: 148.2 kB / 1.104 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/1.128, allocations: 19.78 kB / 1.104 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009978/1.129, allocations: 1.309 MB / 1.105 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.129, allocations: 7 kB / 1.105 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/1.132, allocations: 1.776 MB / 1.107 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008512/1.133, allocations: 315.7 kB / 1.107 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/1.134, allocations: 16.33 kB / 1.107 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.135, allocations: 112.8 kB / 1.107 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.135, allocations: 40.05 kB / 1.107 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/1.135, allocations: 22.77 kB / 1.107 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001924/1.137, allocations: 1.288 MB / 1.109 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.4e-07/1.137, allocations: 0 / 1.109 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002272/1.139, allocations: 0.6251 MB / 1.109 GB, free: 7.582 MB / 0.7136 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005301/1.144, allocations: 3.021 MB / 1.112 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004797/1.149, allocations: 2.568 MB / 1.115 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/1.149, allocations: 0 / 1.115 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009948/1.15, allocations: 470.6 kB / 1.115 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/1.153, allocations: 447.2 kB / 1.116 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007604/1.161, allocations: 6.533 MB / 1.122 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009906/1.162, allocations: 1.189 MB / 1.123 GB, free: 148 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001997/1.164, allocations: 295.5 kB / 1.123 GB, free: 12 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009329/1.165, allocations: 0.4993 MB / 1.124 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of SimCode: time 1.382e-06/1.165, allocations: 0 / 1.124 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06577/1.23, allocations: 34.97 MB / 1.158 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003266/1.231, allocations: 274.2 kB / 1.158 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.164/4.395, allocations: 0 / 1.158 GB, free: 5.945 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)