Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7174/0.7174, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 177.5 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.3 MB / 441.4 MB, free: 4.598 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 94.95 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001824/0.001824, allocations: 278.5 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.021e-05, allocations: 8 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4143, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.167/4.581, allocations: 1.888 GB / 2.652 GB, free: 159.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/4.582, allocations: 95.94 kB / 2.652 GB, free: 159.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.897/6.479, allocations: 0.594 GB / 3.246 GB, free: 88.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.102e-06/6.479, allocations: 0 / 3.246 GB, free: 88.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.738e-05/6.479, allocations: 35.98 kB / 3.246 GB, free: 88.14 MB / 0.698 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.003495/6.483, allocations: 1.721 MB / 3.248 GB, free: 86.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/6.483, allocations: 8.031 kB / 3.248 GB, free: 86.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/6.483, allocations: 118.4 kB / 3.248 GB, free: 86.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/6.484, allocations: 293.8 kB / 3.248 GB, free: 85.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002271/6.487, allocations: 1.341 MB / 3.249 GB, free: 84.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/6.487, allocations: 74 kB / 3.25 GB, free: 84.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/6.487, allocations: 96 kB / 3.25 GB, free: 84.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/6.488, allocations: 0.9715 MB / 3.251 GB, free: 83.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/6.488, allocations: 7.938 kB / 3.251 GB, free: 83.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/6.488, allocations: 28 kB / 3.251 GB, free: 83.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/6.488, allocations: 16 kB / 3.251 GB, free: 83.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/6.489, allocations: 0.8326 MB / 3.251 GB, free: 82.46 MB / 0.698 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.006169/6.496, allocations: 5.06 MB / 3.256 GB, free: 77.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/6.497, allocations: 0.7423 MB / 3.257 GB, free: 76.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/6.497, allocations: 378.8 kB / 3.257 GB, free: 76.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/6.497, allocations: 276.6 kB / 3.258 GB, free: 75.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/6.497, allocations: 43 kB / 3.258 GB, free: 75.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 2.625e-06/6.497, allocations: 0 / 3.258 GB, free: 75.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.001633/6.499, allocations: 0.9051 MB / 3.259 GB, free: 74.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/6.499, allocations: 111.2 kB / 3.259 GB, free: 74.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/6.501, allocations: 1.562 MB / 3.26 GB, free: 73.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/6.501, allocations: 45.7 kB / 3.26 GB, free: 73.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/6.501, allocations: 0.5999 MB / 3.261 GB, free: 72.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/6.501, allocations: 177.5 kB / 3.261 GB, free: 72.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/6.502, allocations: 19.94 kB / 3.261 GB, free: 72.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.539e-05/6.502, allocations: 349.9 kB / 3.261 GB, free: 71.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009942/6.503, allocations: 0.7945 MB / 3.262 GB, free: 71.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/6.504, allocations: 1.158 MB / 3.263 GB, free: 69.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/6.505, allocations: 0.7147 MB / 3.264 GB, free: 69.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/6.505, allocations: 4 kB / 3.264 GB, free: 69.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002848/6.508, allocations: 1.932 MB / 3.266 GB, free: 67.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002978/6.508, allocations: 1.868 MB / 3.268 GB, free: 65.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/6.508, allocations: 8 kB / 3.268 GB, free: 65.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/6.508, allocations: 136.6 kB / 3.268 GB, free: 64.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/6.51, allocations: 219.7 kB / 3.268 GB, free: 64.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000768/6.51, allocations: 1.326 MB / 3.269 GB, free: 63.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/6.512, allocations: 246.6 kB / 3.27 GB, free: 63.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/6.512, allocations: 63.98 kB / 3.27 GB, free: 63.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/6.512, allocations: 4 kB / 3.27 GB, free: 63.06 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002253/6.514, allocations: 1.689 MB / 3.271 GB, free: 61.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/6.514, allocations: 4 kB / 3.271 GB, free: 61.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/6.514, allocations: 12 kB / 3.271 GB, free: 61.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/6.516, allocations: 239.9 kB / 3.272 GB, free: 61.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/6.516, allocations: 15.98 kB / 3.272 GB, free: 61.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/6.517, allocations: 203 kB / 3.272 GB, free: 60.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/6.517, allocations: 63.98 kB / 3.272 GB, free: 60.84 MB / 0.698 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.0002555/6.518, allocations: 176.7 kB / 3.272 GB, free: 60.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/6.518, allocations: 126.3 kB / 3.272 GB, free: 60.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/6.52, allocations: 1.075 MB / 3.273 GB, free: 59.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/6.52, allocations: 4 kB / 3.273 GB, free: 59.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/6.52, allocations: 0 / 3.273 GB, free: 59.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/6.52, allocations: 4.172 kB / 3.273 GB, free: 59.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/6.523, allocations: 2.367 MB / 3.276 GB, free: 56.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/6.523, allocations: 0 / 3.276 GB, free: 56.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/6.523, allocations: 135.8 kB / 3.276 GB, free: 56.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005204/6.524, allocations: 136.9 kB / 3.276 GB, free: 56.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/6.524, allocations: 27.98 kB / 3.276 GB, free: 56.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005917/6.524, allocations: 1.322 MB / 3.277 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/6.524, allocations: 3.938 kB / 3.277 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/6.526, allocations: 1.695 MB / 3.279 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005637/6.527, allocations: 395 kB / 3.279 GB, free: 53.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/6.527, allocations: 12 kB / 3.279 GB, free: 53.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/6.528, allocations: 107.9 kB / 3.279 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/6.528, allocations: 48.27 kB / 3.279 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/6.528, allocations: 39.98 kB / 3.279 GB, free: 52.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001338/6.53, allocations: 1.202 MB / 3.28 GB, free: 51.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/6.53, allocations: 0 / 3.28 GB, free: 51.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002659/6.532, allocations: 0.8856 MB / 3.281 GB, free: 50.83 MB / 0.698 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.004195/6.537, allocations: 4.25 MB / 3.286 GB, free: 46.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003273/6.54, allocations: 2.423 MB / 3.288 GB, free: 44.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/6.54, allocations: 4.062 kB / 3.288 GB, free: 44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005185/6.54, allocations: 386.3 kB / 3.288 GB, free: 43.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/6.543, allocations: 438.1 kB / 3.289 GB, free: 43.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/6.547, allocations: 1.986 MB / 3.291 GB, free: 41.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/6.547, allocations: 1.194 MB / 3.292 GB, free: 39.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002431/6.55, allocations: 0.6417 MB / 3.292 GB, free: 39.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005948/6.55, allocations: 483.3 kB / 3.293 GB, free: 38.81 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/6.55, allocations: 0 / 3.293 GB, free: 38.81 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5042/7.054, allocations: 70.14 MB / 3.361 GB, free: 144 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/7.055, allocations: 255.8 kB / 3.362 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.167/11.22, allocations: 4 kB / 3.362 GB, free: 143.7 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)