Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_blood.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.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) 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") [: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/Chemical 1.4.0-master/package.mo): time 0.06211/0.06211, allocations: 15.27 MB / 22.54 MB, free: 1.098 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008926/0.0008926, allocations: 187.5 kB / 27.31 MB, free: 6.18 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.085/1.085, allocations: 221.4 MB / 253.3 MB, free: 10.36 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 80.73 kB / 308.4 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.861e-06, allocations: 1.094 kB / 369 MB, free: 53.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0676/0.06762, allocations: 54.63 MB / 423.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.2938, allocations: 102.2 MB / 0.5135 GB, free: 8.219 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001497/0.294, allocations: 65.95 kB / 0.5135 GB, free: 8.219 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.1288/0.4227, allocations: 58.16 MB / 0.5703 GB, free: 484 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.001e-05/0.4228, allocations: 32 kB / 0.5704 GB, free: 452 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.002999/0.4258, allocations: 1.663 MB / 0.572 GB, free: 14.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.4259, allocations: 8.031 kB / 0.572 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.4273, allocations: 445.2 kB / 0.5724 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.4287, allocations: 0.8217 MB / 0.5732 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.4287, allocations: 40 kB / 0.5733 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.4289, allocations: 72 kB / 0.5733 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003956/0.4328, allocations: 3.538 MB / 0.5768 GB, free: 9.789 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.4351, allocations: 1.712 MB / 0.5785 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.4351, allocations: 0 / 0.5785 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.4352, allocations: 0 / 0.5785 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.4352, allocations: 36 kB / 0.5785 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008537/0.4438, allocations: 6.414 MB / 0.5848 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.4459, allocations: 1.945 MB / 0.5867 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009553/0.4468, allocations: 0.9054 MB / 0.5875 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/0.4472, allocations: 328.6 kB / 0.5879 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4473, allocations: 47.88 kB / 0.5879 GB, free: 14.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 2.265e-06/0.4473, allocations: 0 / 0.5879 GB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=174): time 0.02799/0.4753, allocations: 8.495 MB / 0.5962 GB, free: 5.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.4753, allocations: 68.72 kB / 0.5963 GB, free: 5.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.4764, allocations: 1.085 MB / 0.5973 GB, free: 4.586 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.563e-05/0.4765, allocations: 29.7 kB / 0.5974 GB, free: 4.551 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.4767, allocations: 443.9 kB / 0.5978 GB, free: 4.105 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.4771, allocations: 0.5579 MB / 0.5983 GB, free: 3.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.4772, allocations: 0 / 0.5983 GB, free: 3.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4774, allocations: 422.9 kB / 0.5987 GB, free: 3.117 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.4789, allocations: 1.269 MB / 0.6 GB, free: 1.844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.4805, allocations: 1.498 MB / 0.6014 GB, free: 284 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/0.4842, allocations: 1.778 MB / 0.6032 GB, free: 14.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.4842, allocations: 4 kB / 0.6032 GB, free: 14.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008394/0.4926, allocations: 3.806 MB / 0.6069 GB, free: 10.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4926, allocations: 4 kB / 0.6069 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.4926, allocations: 7.906 kB / 0.6069 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/0.4953, allocations: 410.2 kB / 0.6073 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.4969, allocations: 399.4 kB / 0.6077 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/0.5025, allocations: 4.166 MB / 0.6117 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.5041, allocations: 107.9 kB / 0.6118 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.5043, allocations: 83.92 kB / 0.6119 GB, free: 5.246 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_unbound_plasma.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: CO2_unbound_plasma.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 8,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002898/0.5046, allocations: 155.4 kB / 0.6121 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.5048, allocations: 110.6 kB / 0.6122 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.515, allocations: 3.731 MB / 0.6158 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009395/0.5244, allocations: 3.361 MB / 0.6191 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.5245, allocations: 4 kB / 0.6191 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/0.5245, allocations: 11.95 kB / 0.6191 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.5389, allocations: 8.068 MB / 0.627 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.539, allocations: 11.98 kB / 0.627 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.5401, allocations: 312.4 kB / 0.6273 GB, free: 5.309 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005379/0.5455, allocations: 0.8919 MB / 0.6282 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.5456, allocations: 35.95 kB / 0.6282 GB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009685/0.5553, allocations: 6.291 MB / 0.6344 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005893/0.5612, allocations: 2.326 MB / 0.6366 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01077/0.572, allocations: 5.694 MB / 0.6422 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.5724, allocations: 227.6 kB / 0.6424 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.5726, allocations: 19.98 kB / 0.6424 GB, free: 4.988 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.5737, allocations: 71.81 kB / 0.6425 GB, free: 4.918 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.5739, allocations: 132.9 kB / 0.6426 GB, free: 4.785 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.574, allocations: 71.95 kB / 0.6427 GB, free: 4.715 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.000826/0.5748, allocations: 0.8545 MB / 0.6435 GB, free: 3.863 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002653/0.5775, allocations: 1.128 MB / 0.6446 GB, free: 2.734 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 5 ($STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 8,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001843/0.5793, allocations: 1.129 MB / 0.6457 GB, free: 1.656 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004285/0.5836, allocations: 2.969 MB / 0.6486 GB, free: 14.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5836, allocations: 0.5625 kB / 0.6486 GB, free: 14.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.5859, allocations: 1.631 MB / 0.6502 GB, free: 13.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.587, allocations: 214.5 kB / 0.6504 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.5912, allocations: 2.707 MB / 0.6531 GB, free: 9.938 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.5925, allocations: 1.372 MB / 0.6544 GB, free: 8.531 MB / 474.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5925, allocations: 0 / 0.6544 GB, free: 8.531 MB / 474.7 MB Notification: Performance of Templates: time 0.1445/0.737, allocations: 36.83 MB / 0.6904 GB, free: 157.2 MB / 474.7 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility_blood.makefile (rm -f Chemical_Chemical.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility_blood.sim & ./Chemical_Chemical.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility_blood.pipe 2>&1)