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") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7092/0.7092, allocations: 141.8 MB / 149.1 MB, free: 4.449 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 182.8 kB / 181.9 MB, free: 108 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 221.3 MB / 436 MB, free: 9.297 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 96.75 kB / 0.507 GB, free: 24.09 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 281.6 kB / 0.5884 GB, free: 12.27 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.895e-06, allocations: 0 / 0.6759 GB, free: 2.637 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3642, allocations: 82.75 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.495/3.859, allocations: 1.887 GB / 2.644 GB, free: 192 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/3.86, allocations: 103 kB / 2.644 GB, free: 191.9 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.689/5.549, allocations: 0.5932 GB / 3.237 GB, free: 125 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001675/5.549, allocations: 34.77 kB / 3.237 GB, free: 125 MB / 0.6982 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.004638/5.554, allocations: 1.804 MB / 3.239 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/5.554, allocations: 8.031 kB / 3.239 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/5.556, allocations: 304.9 kB / 3.239 GB, free: 122.9 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/5.558, allocations: 1.382 MB / 3.24 GB, free: 121.5 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/5.558, allocations: 20 kB / 3.24 GB, free: 121.5 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/5.559, allocations: 63.91 kB / 3.24 GB, free: 121.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001204/5.56, allocations: 0.812 MB / 3.241 GB, free: 120.6 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/5.561, allocations: 0.9005 MB / 3.242 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/5.561, allocations: 0 / 3.242 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/5.561, allocations: 4 kB / 3.242 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/5.561, allocations: 16 kB / 3.242 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00552/5.567, allocations: 4.733 MB / 3.247 GB, free: 114.7 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/5.568, allocations: 0.7548 MB / 3.247 GB, free: 114 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004477/5.568, allocations: 386 kB / 3.248 GB, free: 113.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/5.569, allocations: 283.8 kB / 3.248 GB, free: 113.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/5.569, allocations: 39 kB / 3.248 GB, free: 113.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=50): time 3.717e-06/5.569, allocations: 2.5 kB / 3.248 GB, free: 113.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=50): time 0.002797/5.572, allocations: 1.084 MB / 3.249 GB, free: 112.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/5.572, allocations: 111.2 kB / 3.249 GB, free: 112 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/5.573, allocations: 1.406 MB / 3.251 GB, free: 110.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0002002/5.573, allocations: 25.7 kB / 3.251 GB, free: 110.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/5.574, allocations: 398.7 kB / 3.251 GB, free: 110.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/5.574, allocations: 161.6 kB / 3.251 GB, free: 110 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/5.574, allocations: 96 / 3.251 GB, free: 110 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/5.574, allocations: 353.7 kB / 3.252 GB, free: 109.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009992/5.575, allocations: 0.8257 MB / 3.252 GB, free: 108.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/5.576, allocations: 1.191 MB / 3.254 GB, free: 107.5 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/5.578, allocations: 0.8881 MB / 3.254 GB, free: 106.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/5.578, allocations: 7.938 kB / 3.254 GB, free: 106.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003936/5.582, allocations: 2.127 MB / 3.256 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003101/5.582, allocations: 1.855 MB / 3.258 GB, free: 102.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/5.582, allocations: 4 kB / 3.258 GB, free: 102.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005935/5.583, allocations: 132.4 kB / 3.258 GB, free: 102.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/5.584, allocations: 223.4 kB / 3.259 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009858/5.585, allocations: 1.36 MB / 3.26 GB, free: 100.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/5.587, allocations: 212.8 kB / 3.26 GB, free: 100.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/5.587, allocations: 75.38 kB / 3.26 GB, free: 100.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/5.587, allocations: 7.906 kB / 3.26 GB, free: 100.5 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003231/5.591, allocations: 1.855 MB / 3.262 GB, free: 98.64 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/5.591, allocations: 4 kB / 3.262 GB, free: 98.63 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/5.591, allocations: 8 kB / 3.262 GB, free: 98.62 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/5.592, allocations: 254.9 kB / 3.262 GB, free: 98.38 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/5.592, allocations: 8 kB / 3.262 GB, free: 98.38 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/5.594, allocations: 195.1 kB / 3.263 GB, free: 98.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/5.594, allocations: 67.89 kB / 3.263 GB, free: 98.13 MB / 0.6982 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.0003527/5.595, allocations: 138.9 kB / 3.263 GB, free: 97.99 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/5.595, allocations: 118.4 kB / 3.263 GB, free: 97.88 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/5.598, allocations: 1.268 MB / 3.264 GB, free: 96.61 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/5.598, allocations: 4 kB / 3.264 GB, free: 96.6 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/5.598, allocations: 0 / 3.264 GB, free: 96.6 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/5.598, allocations: 0 / 3.264 GB, free: 96.6 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004864/5.603, allocations: 2.449 MB / 3.266 GB, free: 94.09 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/5.603, allocations: 0 / 3.266 GB, free: 94.09 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/5.603, allocations: 131.4 kB / 3.267 GB, free: 93.97 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005801/5.604, allocations: 139.1 kB / 3.267 GB, free: 93.83 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.167e-05/5.604, allocations: 16.67 kB / 3.267 GB, free: 93.82 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007747/5.605, allocations: 1.348 MB / 3.268 GB, free: 92.42 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/5.605, allocations: 8.5 kB / 3.268 GB, free: 92.41 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003465/5.608, allocations: 1.881 MB / 3.27 GB, free: 90.45 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009854/5.609, allocations: 375.6 kB / 3.27 GB, free: 90.06 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000512/5.61, allocations: 0 / 3.27 GB, free: 90.06 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/5.612, allocations: 105.1 kB / 3.27 GB, free: 89.97 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/5.612, allocations: 42.02 kB / 3.27 GB, free: 89.93 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/5.612, allocations: 43.97 kB / 3.27 GB, free: 89.89 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.001665/5.613, allocations: 1.064 MB / 3.271 GB, free: 88.82 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003459/5.617, allocations: 0.8229 MB / 3.272 GB, free: 88 MB / 0.6982 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.003156/5.62, allocations: 1.986 MB / 3.274 GB, free: 86.2 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.004091/5.624, allocations: 2.46 MB / 3.277 GB, free: 83.74 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/5.624, allocations: 0 / 3.277 GB, free: 83.74 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006191/5.625, allocations: 386.9 kB / 3.277 GB, free: 83.36 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/5.627, allocations: 328.5 kB / 3.277 GB, free: 83.05 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/5.632, allocations: 1.672 MB / 3.279 GB, free: 81.33 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/5.633, allocations: 1.307 MB / 3.28 GB, free: 80 MB / 0.6982 GB Notification: Performance of SimCode: time 1.182e-06/5.633, allocations: 0 / 3.28 GB, free: 80 MB / 0.6982 GB Notification: Performance of Templates: time 0.06116/5.695, allocations: 43.49 MB / 3.323 GB, free: 36.89 MB / 0.6982 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)