Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") [: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 3.2.3+maint.om/package.mo): time 0.0008978/0.0008978, allocations: 190.9 kB / 8.137 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9924/0.9924, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008077/0.0008079, allocations: 98.22 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2792/0.2792, allocations: 48.75 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.679e-06/4.699e-06, allocations: 0 / 424.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.08939, allocations: 60.26 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.215, allocations: 0.7156 GB / 1.189 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/1.215, allocations: 80.77 kB / 1.189 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.367/3.582, allocations: 0.7959 GB / 1.985 GB, free: 59.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001814/3.582, allocations: 59.2 kB / 1.985 GB, free: 59.02 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.005979/3.588, allocations: 1.975 MB / 1.987 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/3.588, allocations: 8.875 kB / 1.987 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002795/3.591, allocations: 382.7 kB / 1.988 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/3.594, allocations: 1.077 MB / 1.989 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/3.594, allocations: 59.16 kB / 1.989 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/3.595, allocations: 100 kB / 1.989 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00292/3.597, allocations: 1.481 MB / 1.99 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/3.601, allocations: 1.697 MB / 1.992 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/3.601, allocations: 0.5625 kB / 1.992 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/3.601, allocations: 4.188 kB / 1.992 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/3.601, allocations: 40.56 kB / 1.992 GB, free: 57.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/3.611, allocations: 6.666 MB / 1.998 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/3.614, allocations: 1.17 MB / 2 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/3.614, allocations: 386.6 kB / 2 GB, free: 54.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.91e-05/3.614, allocations: 28.52 kB / 2 GB, free: 54.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/3.614, allocations: 55.08 kB / 2 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=100): time 2.865e-06/3.614, allocations: 6.969 kB / 2 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100): time 0.003835/3.618, allocations: 1.214 MB / 2.001 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/3.618, allocations: 117 kB / 2.001 GB, free: 53.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/3.619, allocations: 0.8964 MB / 2.002 GB, free: 53.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/3.62, allocations: 29.33 kB / 2.002 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/3.62, allocations: 0.6637 MB / 2.003 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/3.62, allocations: 337.7 kB / 2.003 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/3.62, allocations: 0 / 2.003 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/3.62, allocations: 358.4 kB / 2.004 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/3.621, allocations: 422.5 kB / 2.004 GB, free: 52.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007198/3.622, allocations: 0.8189 MB / 2.005 GB, free: 52.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/3.623, allocations: 0.5501 MB / 2.005 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/3.623, allocations: 4.25 kB / 2.005 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003179/3.626, allocations: 1.595 MB / 2.007 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001479/3.627, allocations: 5.035 MB / 2.012 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.584e-05/3.627, allocations: 12.88 kB / 2.012 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00371/3.631, allocations: 0.6078 MB / 2.012 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/3.633, allocations: 339.8 kB / 2.013 GB, free: 46.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003537/3.636, allocations: 6.029 MB / 2.019 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/3.638, allocations: 258.2 kB / 2.019 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/3.638, allocations: 80.22 kB / 2.019 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/3.638, allocations: 2.5 kB / 2.019 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002276/3.641, allocations: 1.244 MB / 2.02 GB, free: 41.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/3.641, allocations: 13.91 kB / 2.02 GB, free: 41.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/3.641, allocations: 170.6 kB / 2.02 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/3.643, allocations: 439.4 kB / 2.021 GB, free: 41.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/3.647, allocations: 7.429 MB / 2.028 GB, free: 34.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/3.649, allocations: 214.2 kB / 2.028 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/3.649, allocations: 78.39 kB / 2.028 GB, free: 34.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 18,2 18} Notification: Performance of prepare postOptimizeDAE: time 0.0006005/3.65, allocations: 148.5 kB / 2.028 GB, free: 34.44 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/3.65, allocations: 147.2 kB / 2.028 GB, free: 34.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/3.653, allocations: 1.283 MB / 2.03 GB, free: 34.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/3.653, allocations: 12.09 kB / 2.03 GB, free: 34.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/3.653, allocations: 0 / 2.03 GB, free: 34.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/3.653, allocations: 10.73 kB / 2.03 GB, free: 34.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/3.658, allocations: 2.889 MB / 2.033 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/3.658, allocations: 3.906 kB / 2.033 GB, free: 33.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007763/3.659, allocations: 209.6 kB / 2.033 GB, free: 33.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/3.661, allocations: 0.588 MB / 2.033 GB, free: 33.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/3.661, allocations: 16.69 kB / 2.033 GB, free: 33.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002916/3.664, allocations: 5.982 MB / 2.039 GB, free: 28.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/3.664, allocations: 15.34 kB / 2.039 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002558/3.667, allocations: 1.681 MB / 2.041 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/3.667, allocations: 239.3 kB / 2.041 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/3.667, allocations: 10.03 kB / 2.041 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/3.669, allocations: 161.6 kB / 2.041 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/3.669, allocations: 82.95 kB / 2.041 GB, free: 27.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/3.669, allocations: 84 kB / 2.041 GB, free: 27.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0007495/3.67, allocations: 0.6493 MB / 2.042 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0034/3.674, allocations: 1.24 MB / 2.043 GB, free: 27.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 20,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.00249/3.676, allocations: 1.753 MB / 2.045 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004194/3.68, allocations: 2.094 MB / 2.047 GB, free: 26.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/3.68, allocations: 8.062 kB / 2.047 GB, free: 26.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/3.681, allocations: 0.5544 MB / 2.048 GB, free: 26.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/3.684, allocations: 499.8 kB / 2.048 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/3.689, allocations: 2.124 MB / 2.05 GB, free: 25.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/3.69, allocations: 1.511 MB / 2.052 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of SimCode: time 9.32e-07/3.69, allocations: 0 / 2.052 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of Templates: time 0.06346/3.754, allocations: 44.45 MB / 2.095 GB, free: 8.734 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.pipe 2>&1)