Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.003335/0.003335, allocations: 179.3 kB / 7.456 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6919/0.6919, allocations: 130.6 MB / 138.5 MB, free: 2.152 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.3 MB / 391.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.0009971, allocations: 93.84 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.666e-06, allocations: 5.938 kB / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 81.58 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.452/3.582, allocations: 1.889 GB / 2.517 GB, free: 247.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/3.582, allocations: 94.05 kB / 2.517 GB, free: 247.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.827/5.409, allocations: 0.5932 GB / 3.11 GB, free: 114.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001482/5.41, allocations: 35.72 kB / 3.11 GB, free: 114.9 MB / 0.6667 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.004824/5.414, allocations: 1.796 MB / 3.112 GB, free: 114.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/5.415, allocations: 12.44 kB / 3.112 GB, free: 114.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/5.417, allocations: 308.8 kB / 3.112 GB, free: 114 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/5.42, allocations: 1.38 MB / 3.113 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/5.42, allocations: 20.59 kB / 3.113 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/5.42, allocations: 66.34 kB / 3.114 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001261/5.422, allocations: 0.8149 MB / 3.114 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/5.423, allocations: 0.8984 MB / 3.115 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/5.423, allocations: 3.969 kB / 3.115 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/5.423, allocations: 3.188 kB / 3.115 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/5.423, allocations: 17.59 kB / 3.115 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005643/5.429, allocations: 4.729 MB / 3.12 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/5.43, allocations: 0.7508 MB / 3.121 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/5.43, allocations: 384.2 kB / 3.121 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003098/5.431, allocations: 290.2 kB / 3.121 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/5.431, allocations: 38.06 kB / 3.121 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=50): time 2.024e-06/5.431, allocations: 0 / 3.121 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=50): time 0.002677/5.433, allocations: 1.083 MB / 3.122 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/5.433, allocations: 111 kB / 3.122 GB, free: 110.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/5.435, allocations: 1.407 MB / 3.124 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/5.435, allocations: 29.45 kB / 3.124 GB, free: 110.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/5.436, allocations: 389.5 kB / 3.124 GB, free: 110.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/5.436, allocations: 173.9 kB / 3.124 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/5.436, allocations: 0 / 3.124 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.552e-05/5.436, allocations: 345.1 kB / 3.125 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/5.437, allocations: 0.8305 MB / 3.126 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/5.439, allocations: 1.183 MB / 3.127 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/5.441, allocations: 0.8931 MB / 3.128 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/5.441, allocations: 0.875 kB / 3.128 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00418/5.445, allocations: 2.125 MB / 3.13 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003549/5.445, allocations: 1.854 MB / 3.131 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/5.445, allocations: 7.5 kB / 3.131 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/5.446, allocations: 135.1 kB / 3.132 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/5.447, allocations: 232.6 kB / 3.132 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000903/5.448, allocations: 1.36 MB / 3.133 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/5.45, allocations: 223.7 kB / 3.133 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/5.45, allocations: 63.5 kB / 3.133 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.363e-06/5.45, allocations: 6.938 kB / 3.133 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003399/5.454, allocations: 1.854 MB / 3.135 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/5.454, allocations: 6.094 kB / 3.135 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/5.454, allocations: 12.02 kB / 3.135 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/5.455, allocations: 249.2 kB / 3.135 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/5.455, allocations: 14.48 kB / 3.135 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/5.457, allocations: 185.6 kB / 3.136 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/5.457, allocations: 63.48 kB / 3.136 GB, free: 106.2 MB / 0.6667 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.0003426/5.458, allocations: 138.6 kB / 3.136 GB, free: 106 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/5.458, allocations: 118.5 kB / 3.136 GB, free: 106 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/5.461, allocations: 1.259 MB / 3.137 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/5.461, allocations: 5.969 kB / 3.137 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/5.461, allocations: 0 / 3.137 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/5.461, allocations: 7.672 kB / 3.137 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/5.466, allocations: 2.439 MB / 3.14 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/5.466, allocations: 1.812 kB / 3.14 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/5.467, allocations: 141.6 kB / 3.14 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009682/5.468, allocations: 139.8 kB / 3.14 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/5.468, allocations: 18.2 kB / 3.14 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/5.469, allocations: 1.347 MB / 3.141 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/5.469, allocations: 2.344 kB / 3.141 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003846/5.473, allocations: 1.88 MB / 3.143 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008842/5.474, allocations: 372.5 kB / 3.143 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/5.475, allocations: 7.375 kB / 3.143 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/5.476, allocations: 108.8 kB / 3.143 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/5.476, allocations: 39.05 kB / 3.144 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/5.476, allocations: 39.55 kB / 3.144 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002153/5.479, allocations: 1.066 MB / 3.145 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003687/5.482, allocations: 0.826 MB / 3.145 GB, free: 102.4 MB / 0.6667 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.003891/5.486, allocations: 1.979 MB / 3.147 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005473/5.492, allocations: 2.466 MB / 3.15 GB, free: 101.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/5.492, allocations: 0.8125 kB / 3.15 GB, free: 101.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/5.493, allocations: 381 kB / 3.15 GB, free: 101 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/5.496, allocations: 317.5 kB / 3.15 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/5.501, allocations: 1.678 MB / 3.152 GB, free: 99.98 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/5.502, allocations: 1.308 MB / 3.153 GB, free: 98.88 MB / 0.6667 GB Notification: Performance of SimCode: time 6.41e-07/5.502, allocations: 0 / 3.153 GB, free: 98.88 MB / 0.6667 GB Notification: Performance of Templates: time 0.05962/5.562, allocations: 43.47 MB / 3.196 GB, free: 59.47 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)