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: translateModel(BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7558/0.7558, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001056/0.001056, allocations: 185 kB / 187.3 MB, free: 11.88 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.476/1.476, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009465/0.0009468, allocations: 98.83 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 266.3 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.749e-05, allocations: 8 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4414, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.711/5.153, allocations: 1.888 GB / 2.652 GB, free: 160 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/5.153, allocations: 99.89 kB / 2.652 GB, free: 159.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.019/7.172, allocations: 0.594 GB / 3.246 GB, free: 88.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/7.172, allocations: 0 / 3.246 GB, free: 88.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001895/7.172, allocations: 31.94 kB / 3.246 GB, free: 88.6 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.004687/7.177, allocations: 1.725 MB / 3.248 GB, free: 86.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/7.177, allocations: 12.03 kB / 3.248 GB, free: 86.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/7.179, allocations: 277.9 kB / 3.248 GB, free: 86.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/7.181, allocations: 1.345 MB / 3.249 GB, free: 85.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/7.182, allocations: 70 kB / 3.249 GB, free: 85.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/7.182, allocations: 103.9 kB / 3.249 GB, free: 84.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/7.183, allocations: 0.9754 MB / 3.25 GB, free: 83.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/7.183, allocations: 0 / 3.25 GB, free: 83.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/7.183, allocations: 32 kB / 3.25 GB, free: 83.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/7.183, allocations: 16 kB / 3.25 GB, free: 83.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/7.184, allocations: 0.8287 MB / 3.251 GB, free: 83.05 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.006047/7.19, allocations: 5.068 MB / 3.256 GB, free: 77.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/7.191, allocations: 0.7501 MB / 3.257 GB, free: 77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/7.192, allocations: 374.8 kB / 3.257 GB, free: 76.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/7.192, allocations: 275.7 kB / 3.258 GB, free: 76.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/7.192, allocations: 46.92 kB / 3.258 GB, free: 76.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 2.815e-06/7.192, allocations: 4 kB / 3.258 GB, free: 76.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.001711/7.194, allocations: 0.909 MB / 3.258 GB, free: 75.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/7.194, allocations: 107.2 kB / 3.259 GB, free: 75.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/7.196, allocations: 1.562 MB / 3.26 GB, free: 73.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/7.196, allocations: 45.7 kB / 3.26 GB, free: 73.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/7.196, allocations: 0.5998 MB / 3.261 GB, free: 72.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/7.196, allocations: 169.5 kB / 3.261 GB, free: 72.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/7.196, allocations: 27.94 kB / 3.261 GB, free: 72.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.384e-05/7.197, allocations: 345.9 kB / 3.261 GB, free: 72.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009832/7.198, allocations: 0.7867 MB / 3.262 GB, free: 71.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/7.199, allocations: 1.166 MB / 3.263 GB, free: 70.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/7.2, allocations: 0.7186 MB / 3.264 GB, free: 69.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/7.2, allocations: 0 / 3.264 GB, free: 69.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002794/7.202, allocations: 1.924 MB / 3.266 GB, free: 67.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000324/7.203, allocations: 1.873 MB / 3.268 GB, free: 65.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/7.203, allocations: 4 kB / 3.268 GB, free: 65.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/7.203, allocations: 136.8 kB / 3.268 GB, free: 65.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/7.204, allocations: 223.7 kB / 3.268 GB, free: 65.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007635/7.205, allocations: 1.326 MB / 3.269 GB, free: 63.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/7.207, allocations: 242.7 kB / 3.269 GB, free: 63.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/7.207, allocations: 67.97 kB / 3.269 GB, free: 63.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/7.207, allocations: 4 kB / 3.269 GB, free: 63.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002232/7.209, allocations: 1.681 MB / 3.271 GB, free: 61.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/7.209, allocations: 7.938 kB / 3.271 GB, free: 61.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/7.209, allocations: 12 kB / 3.271 GB, free: 61.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/7.21, allocations: 243.7 kB / 3.271 GB, free: 61.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/7.21, allocations: 16 kB / 3.271 GB, free: 61.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/7.212, allocations: 211 kB / 3.272 GB, free: 61.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/7.212, allocations: 67.97 kB / 3.272 GB, free: 61.41 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.0002521/7.212, allocations: 164.7 kB / 3.272 GB, free: 61.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/7.213, allocations: 126.3 kB / 3.272 GB, free: 61.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/7.214, allocations: 1.072 MB / 3.273 GB, free: 60.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/7.214, allocations: 4 kB / 3.273 GB, free: 60.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/7.214, allocations: 0 / 3.273 GB, free: 60.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/7.214, allocations: 3.984 kB / 3.273 GB, free: 60.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/7.218, allocations: 2.367 MB / 3.275 GB, free: 57.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/7.218, allocations: 4.031 kB / 3.275 GB, free: 57.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/7.218, allocations: 127.8 kB / 3.275 GB, free: 57.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/7.219, allocations: 148.7 kB / 3.276 GB, free: 57.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/7.219, allocations: 23.98 kB / 3.276 GB, free: 57.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006356/7.22, allocations: 1.321 MB / 3.277 GB, free: 55.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/7.22, allocations: 4.031 kB / 3.277 GB, free: 55.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/7.222, allocations: 1.695 MB / 3.279 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006154/7.222, allocations: 387 kB / 3.279 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/7.222, allocations: 12 kB / 3.279 GB, free: 53.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/7.223, allocations: 107.9 kB / 3.279 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/7.224, allocations: 56.27 kB / 3.279 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/7.224, allocations: 39.98 kB / 3.279 GB, free: 53.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001305/7.225, allocations: 1.206 MB / 3.28 GB, free: 52.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.225, allocations: 0 / 3.28 GB, free: 52.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002751/7.228, allocations: 0.8856 MB / 3.281 GB, free: 51.41 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.002224/7.23, allocations: 1.781 MB / 3.283 GB, free: 49.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00316/7.233, allocations: 2.419 MB / 3.285 GB, free: 47.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/7.233, allocations: 8.062 kB / 3.285 GB, free: 47.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000517/7.234, allocations: 390.2 kB / 3.286 GB, free: 46.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/7.236, allocations: 432.4 kB / 3.286 GB, free: 46.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/7.238, allocations: 1.649 MB / 3.288 GB, free: 44.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/7.239, allocations: 1.193 MB / 3.289 GB, free: 43.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002313/7.241, allocations: 0.6418 MB / 3.289 GB, free: 42.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/7.241, allocations: 71.41 kB / 3.29 GB, free: 42.68 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/7.241, allocations: 0 / 3.29 GB, free: 42.68 MB / 0.698 GB Notification: Performance of Templates: time 0.06701/7.308, allocations: 53.53 MB / 3.342 GB, free: 5.301 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)