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/Complex 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) 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002732/0.002731, allocations: 185.8 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4865/0.4865, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.4 MB / 342.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00093/0.0009301, allocations: 99.16 kB / 415.5 MB, free: 9.816 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.244e-06/7.694e-06, allocations: 0 / 493.9 MB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3284, allocations: 72.3 MB / 0.5529 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.333/3.662, allocations: 1.88 GB / 2.433 GB, free: 182.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/3.662, allocations: 96.69 kB / 2.433 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.91/5.572, allocations: 0.5932 GB / 3.026 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001991/5.572, allocations: 32 kB / 3.026 GB, free: 38.82 MB / 0.6042 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.006127/5.578, allocations: 1.806 MB / 3.028 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/5.578, allocations: 8.031 kB / 3.028 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/5.581, allocations: 297.8 kB / 3.028 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003846/5.585, allocations: 1.384 MB / 3.029 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/5.585, allocations: 24 kB / 3.029 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004729/5.586, allocations: 56 kB / 3.03 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001521/5.587, allocations: 0.8121 MB / 3.03 GB, free: 34.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/5.589, allocations: 0.896 MB / 3.031 GB, free: 33.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/5.589, allocations: 7.938 kB / 3.031 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/5.589, allocations: 0 / 3.031 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/5.589, allocations: 20 kB / 3.031 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007877/5.597, allocations: 4.73 MB / 3.036 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/5.598, allocations: 0.7501 MB / 3.037 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/5.599, allocations: 390 kB / 3.037 GB, free: 27.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003827/5.599, allocations: 279.7 kB / 3.037 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/5.599, allocations: 39.75 kB / 3.037 GB, free: 26.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=50): time 3.506e-06/5.599, allocations: 3.938 kB / 3.037 GB, free: 26.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50): time 0.003257/5.602, allocations: 1.092 MB / 3.038 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/5.602, allocations: 107.2 kB / 3.038 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002691/5.605, allocations: 1.406 MB / 3.04 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002482/5.605, allocations: 29.7 kB / 3.04 GB, free: 24.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/5.606, allocations: 392 kB / 3.04 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/5.606, allocations: 173.4 kB / 3.04 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/5.606, allocations: 4 kB / 3.04 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001051/5.606, allocations: 341.9 kB / 3.041 GB, free: 23.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/5.607, allocations: 0.8335 MB / 3.042 GB, free: 22.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/5.609, allocations: 1.18 MB / 3.043 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/5.611, allocations: 0.8966 MB / 3.044 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/5.611, allocations: 0 / 3.044 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00451/5.615, allocations: 2.122 MB / 3.046 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005519/5.616, allocations: 1.855 MB / 3.047 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/5.616, allocations: 4 kB / 3.047 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/5.617, allocations: 140.6 kB / 3.048 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/5.618, allocations: 227.7 kB / 3.048 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/5.619, allocations: 1.357 MB / 3.049 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/5.622, allocations: 215.1 kB / 3.049 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/5.622, allocations: 63.98 kB / 3.049 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/5.622, allocations: 8 kB / 3.049 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003318/5.625, allocations: 1.859 MB / 3.051 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/5.625, allocations: 8 kB / 3.051 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/5.625, allocations: 8 kB / 3.051 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/5.626, allocations: 244.2 kB / 3.051 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/5.626, allocations: 19.91 kB / 3.051 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/5.629, allocations: 195.1 kB / 3.052 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/5.629, allocations: 68.17 kB / 3.052 GB, free: 11.69 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conPID.u_m:VARIABLE() "Connector of measurement input signal" type: Real 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.0004111/5.629, allocations: 140.7 kB / 3.052 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006175/5.63, allocations: 118.4 kB / 3.052 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/5.633, allocations: 1.251 MB / 3.053 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/5.633, allocations: 7.906 kB / 3.053 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/5.633, allocations: 0 / 3.053 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/5.633, allocations: 7.984 kB / 3.053 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005532/5.639, allocations: 2.44 MB / 3.056 GB, free: 7.629 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/5.639, allocations: 4 kB / 3.056 GB, free: 7.625 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/5.639, allocations: 139.9 kB / 3.056 GB, free: 7.488 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006201/5.64, allocations: 140.8 kB / 3.056 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/5.64, allocations: 15.98 kB / 3.056 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008968/5.641, allocations: 1.344 MB / 3.057 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/5.641, allocations: 8.094 kB / 3.057 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003653/5.645, allocations: 1.876 MB / 3.059 GB, free: 3.961 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/5.646, allocations: 371.2 kB / 3.059 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000555/5.646, allocations: 7.906 kB / 3.059 GB, free: 3.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/5.648, allocations: 107.9 kB / 3.059 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/5.648, allocations: 44.38 kB / 3.06 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-05/5.648, allocations: 39.98 kB / 3.06 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.00212/5.651, allocations: 1.061 MB / 3.061 GB, free: 2.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004199/5.655, allocations: 0.8345 MB / 3.061 GB, free: 1.484 MB / 0.6042 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.3331/5.988, allocations: 1.966 MB / 3.063 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004703/5.993, allocations: 2.465 MB / 3.066 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/5.993, allocations: 0 / 3.066 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000743/5.993, allocations: 381.4 kB / 3.066 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/5.996, allocations: 313.9 kB / 3.066 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004524/6.001, allocations: 1.675 MB / 3.068 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/6.002, allocations: 1.307 MB / 3.069 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.024e-06/6.002, allocations: 0 / 3.069 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.07334/6.075, allocations: 43.48 MB / 3.112 GB, free: 142.6 MB / 0.6042 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)