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.579/1.579, allocations: 249.3 MB / 261.8 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 170.2 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.000917/0.0009169, allocations: 82.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.922e-05/5.943e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2407, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.917/7.157, allocations: 2.213 GB / 3.105 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/7.158, allocations: 98.38 kB / 3.105 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.558/9.716, allocations: 0.5664 GB / 3.671 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.774e-06/9.716, allocations: 0 / 3.671 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001147/9.716, allocations: 33.28 kB / 3.671 GB, free: 182.3 MB / 0.8698 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.003908/9.72, allocations: 1.629 MB / 3.673 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/9.72, allocations: 11.5 kB / 3.673 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/9.72, allocations: 112 kB / 3.673 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/9.722, allocations: 324.5 kB / 3.674 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/9.725, allocations: 1.287 MB / 3.675 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/9.725, allocations: 69.09 kB / 3.675 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/9.725, allocations: 103.1 kB / 3.675 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/9.727, allocations: 0.9715 MB / 3.676 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/9.727, allocations: 2.812 kB / 3.676 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/9.727, allocations: 34.48 kB / 3.676 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/9.727, allocations: 18.38 kB / 3.676 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/9.728, allocations: 0.8288 MB / 3.677 GB, free: 179.7 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.005494/9.733, allocations: 4.652 MB / 3.681 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/9.735, allocations: 0.7456 MB / 3.682 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/9.735, allocations: 379 kB / 3.682 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003453/9.735, allocations: 281.1 kB / 3.683 GB, free: 176 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/9.735, allocations: 42.53 kB / 3.683 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=50): time 4.177e-06/9.736, allocations: 0 / 3.683 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=50): time 0.001856/9.737, allocations: 0.9114 MB / 3.684 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/9.737, allocations: 105.7 kB / 3.684 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/9.739, allocations: 1.555 MB / 3.685 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/9.74, allocations: 45.02 kB / 3.685 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/9.74, allocations: 0.5971 MB / 3.686 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/9.74, allocations: 180.9 kB / 3.686 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/9.74, allocations: 19.72 kB / 3.686 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/9.74, allocations: 343.8 kB / 3.686 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008142/9.741, allocations: 0.6451 MB / 3.687 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/9.742, allocations: 1.008 MB / 3.688 GB, free: 173 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/9.743, allocations: 0.7381 MB / 3.689 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/9.743, allocations: 3.938 kB / 3.689 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002702/9.746, allocations: 1.814 MB / 3.69 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005007/9.746, allocations: 1.861 MB / 3.692 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/9.746, allocations: 10.28 kB / 3.692 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006748/9.747, allocations: 134.6 kB / 3.692 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009177/9.748, allocations: 223.5 kB / 3.693 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008936/9.749, allocations: 1.335 MB / 3.694 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/9.751, allocations: 237 kB / 3.694 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/9.751, allocations: 65.94 kB / 3.694 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/9.751, allocations: 8.719 kB / 3.694 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001972/9.753, allocations: 1.57 MB / 3.696 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/9.753, allocations: 3.938 kB / 3.696 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/9.753, allocations: 11.09 kB / 3.696 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009284/9.754, allocations: 249.4 kB / 3.696 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/9.754, allocations: 15.12 kB / 3.696 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/9.756, allocations: 223.2 kB / 3.696 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/9.756, allocations: 62.28 kB / 3.696 GB, free: 168.2 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 1 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002773/9.756, allocations: 181.4 kB / 3.696 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/9.756, allocations: 127.6 kB / 3.697 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/9.758, allocations: 1.074 MB / 3.698 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/9.758, allocations: 7.094 kB / 3.698 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/9.758, allocations: 3.438 kB / 3.698 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/9.758, allocations: 3.75 kB / 3.698 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/9.763, allocations: 2.374 MB / 3.7 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/9.763, allocations: 3.562 kB / 3.7 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/9.763, allocations: 143.5 kB / 3.7 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006799/9.764, allocations: 141 kB / 3.7 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/9.764, allocations: 22.28 kB / 3.7 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/9.765, allocations: 1.322 MB / 3.702 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/9.765, allocations: 3.5 kB / 3.702 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/9.768, allocations: 1.694 MB / 3.703 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/9.769, allocations: 387.8 kB / 3.704 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004297/9.77, allocations: 11.5 kB / 3.704 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/9.771, allocations: 115.3 kB / 3.704 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/9.772, allocations: 45.08 kB / 3.704 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.723e-05/9.772, allocations: 38.45 kB / 3.704 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002526/9.774, allocations: 1.205 MB / 3.705 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/9.774, allocations: 0 / 3.705 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004593/9.779, allocations: 0.8336 MB / 3.706 GB, free: 163.5 MB / 0.8698 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 () * 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.007462/9.786, allocations: 4.239 MB / 3.71 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003734/9.79, allocations: 2.196 MB / 3.712 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/9.79, allocations: 0 / 3.712 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006575/9.791, allocations: 389.2 kB / 3.712 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/9.794, allocations: 454.3 kB / 3.713 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005952/9.8, allocations: 1.985 MB / 3.715 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000973/9.801, allocations: 1.19 MB / 3.716 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003038/9.804, allocations: 0.5461 MB / 3.716 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006907/9.805, allocations: 487 kB / 3.717 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.944e-06/9.805, allocations: 0 / 3.717 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/9.914, allocations: 66.24 MB / 3.782 GB, free: 91.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/9.914, allocations: 241.5 kB / 3.782 GB, free: 91.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.661/14.57, allocations: 6.578 kB / 3.782 GB, free: 91.59 MB / 0.8698 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)