Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.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.TestGT_ISO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO") translateModel(ThermoPower.Test.GasComponents.TestGT_ISO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO") [: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.0009729/0.000973, allocations: 192.6 kB / 8.136 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.121/1.121, allocations: 205.2 MB / 213.7 MB, free: 13.82 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.0008817/0.0008817, allocations: 97.47 kB / 261.7 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3079/0.3079, allocations: 48.75 MB / 358.4 MB, free: 53.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.692e-06/6.783e-06, allocations: 0 / 424.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09793, allocations: 60.26 MB / 485 MB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.2, allocations: 0.752 GB / 1.226 GB, free: 53.95 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/1.2, allocations: 79.03 kB / 1.226 GB, free: 53.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.502/2.702, allocations: 0.5652 GB / 1.791 GB, free: 78.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.158e-05/2.702, allocations: 27.86 kB / 1.791 GB, free: 78.22 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.002895/2.705, allocations: 1.193 MB / 1.792 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/2.705, allocations: 6.469 kB / 1.792 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/2.707, allocations: 222.7 kB / 1.792 GB, free: 77.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/2.709, allocations: 0.8038 MB / 1.793 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/2.709, allocations: 28.19 kB / 1.793 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/2.709, allocations: 54.52 kB / 1.793 GB, free: 76.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001548/2.71, allocations: 0.8474 MB / 1.794 GB, free: 76.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/2.712, allocations: 1.079 MB / 1.795 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/2.712, allocations: 0.6562 kB / 1.795 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/2.712, allocations: 3.281 kB / 1.795 GB, free: 76.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-05/2.713, allocations: 44.72 kB / 1.795 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006625/2.719, allocations: 4.831 MB / 1.8 GB, free: 72.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/2.72, allocations: 380.1 kB / 1.8 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/2.72, allocations: 167.8 kB / 1.8 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.572e-05/2.72, allocations: 15.34 kB / 1.8 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/2.72, allocations: 49.05 kB / 1.8 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 2.434e-06/2.72, allocations: 0 / 1.8 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40): time 0.001176/2.721, allocations: 0.5025 MB / 1.801 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/2.721, allocations: 131.7 kB / 1.801 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/2.722, allocations: 0.947 MB / 1.802 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.861e-05/2.722, allocations: 25.7 kB / 1.802 GB, free: 71.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/2.723, allocations: 457.6 kB / 1.802 GB, free: 70.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/2.723, allocations: 137.5 kB / 1.803 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/2.723, allocations: 0 / 1.803 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.87e-05/2.723, allocations: 332.7 kB / 1.803 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/2.723, allocations: 219.4 kB / 1.803 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/2.724, allocations: 427.8 kB / 1.803 GB, free: 70.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/2.724, allocations: 283 kB / 1.804 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/2.724, allocations: 2.75 kB / 1.804 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001414/2.725, allocations: 0.8049 MB / 1.804 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005262/2.726, allocations: 2.434 MB / 1.807 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/2.726, allocations: 8.938 kB / 1.807 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009289/2.727, allocations: 216.1 kB / 1.807 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/2.728, allocations: 144.8 kB / 1.807 GB, free: 66.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/2.729, allocations: 1.495 MB / 1.809 GB, free: 65.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/2.73, allocations: 79.05 kB / 1.809 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/2.73, allocations: 33.11 kB / 1.809 GB, free: 65.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/2.73, allocations: 6.562 kB / 1.809 GB, free: 65.44 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/2.731, allocations: 0.6393 MB / 1.809 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/2.731, allocations: 6.406 kB / 1.809 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/2.732, allocations: 81.05 kB / 1.81 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/2.732, allocations: 161.8 kB / 1.81 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009207/2.733, allocations: 1.857 MB / 1.811 GB, free: 63.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/2.734, allocations: 57.59 kB / 1.812 GB, free: 63.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/2.734, allocations: 32.7 kB / 1.812 GB, free: 63.23 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: GT.ZLPout_ISO:VARIABLE(unit = "W" ) "zero_loss power output, referred to ISO conditions " type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * 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 {4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002789/2.734, allocations: 137.3 kB / 1.812 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/2.734, allocations: 92.75 kB / 1.812 GB, free: 63.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/2.736, allocations: 0.5567 MB / 1.812 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/2.736, allocations: 4.25 kB / 1.812 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/2.736, allocations: 0.9062 kB / 1.812 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/2.736, allocations: 1.156 kB / 1.812 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/2.737, allocations: 0.9802 MB / 1.813 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/2.737, allocations: 1.031 kB / 1.813 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/2.738, allocations: 69.55 kB / 1.813 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007868/2.739, allocations: 190.6 kB / 1.814 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/2.739, allocations: 11.28 kB / 1.814 GB, free: 61.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/2.74, allocations: 1.446 MB / 1.815 GB, free: 60.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.74, allocations: 0 / 1.815 GB, free: 60.64 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001439/2.741, allocations: 0.8609 MB / 1.816 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005153/2.742, allocations: 275.5 kB / 1.816 GB, free: 59.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/2.742, allocations: 5.438 kB / 1.816 GB, free: 59.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/2.743, allocations: 48.55 kB / 1.816 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/2.743, allocations: 25.78 kB / 1.816 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/2.743, allocations: 32.89 kB / 1.816 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0009732/2.744, allocations: 0.7147 MB / 1.817 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001973/2.746, allocations: 0.6504 MB / 1.818 GB, free: 58.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ConstantSpeed1.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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 {4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002367/2.748, allocations: 1.399 MB / 1.819 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001853/2.75, allocations: 0.9114 MB / 1.82 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/2.75, allocations: 4.656 kB / 1.82 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004873/2.751, allocations: 212.7 kB / 1.82 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/2.752, allocations: 250.8 kB / 1.82 GB, free: 56.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/2.755, allocations: 1.433 MB / 1.822 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000794/2.755, allocations: 1.206 MB / 1.823 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/2.755, allocations: 0 / 1.823 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.03321/2.789, allocations: 24.92 MB / 1.847 GB, free: 28.82 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT_ISO.pipe 2>&1)