Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.conf.json 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/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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 108 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07828/0.07828, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.91 kB / 425.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09809, allocations: 53.61 MB / 479.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01028/0.1084, allocations: 10.3 MB / 489.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.266/0.3745, allocations: 32.88 MB / 0.5104 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.3764, allocations: 24.53 kB / 0.5104 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.3784, allocations: 0.6969 MB / 0.5111 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008797/0.3873, allocations: 2.635 MB / 0.5137 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01431/0.4017, allocations: 4.32 MB / 0.5179 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006335/0.408, allocations: 3.012 MB / 0.5208 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.411, allocations: 1.659 MB / 0.5224 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003237/0.4142, allocations: 1.458 MB / 0.5239 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003594/0.4178, allocations: 1.61 MB / 0.5254 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007882/0.4186, allocations: 262.8 kB / 0.5257 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01636/0.435, allocations: 3.612 MB / 0.5292 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.4363, allocations: 0.6087 MB / 0.5298 GB, free: 172 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002706/0.4391, allocations: 1.326 MB / 0.5311 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01989/0.459, allocations: 6.621 MB / 0.5376 GB, free: 12.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.459, allocations: 11.22 kB / 0.5376 GB, free: 12.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.459, allocations: 0 / 0.5376 GB, free: 12.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.695e-05/0.4591, allocations: 0 / 0.5376 GB, free: 12.47 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.009486/0.4686, allocations: 3.219 MB / 0.5407 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.4687, allocations: 7.469 kB / 0.5407 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.4715, allocations: 0.5685 MB / 0.5413 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.4739, allocations: 1.132 MB / 0.5424 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.474, allocations: 162.3 kB / 0.5426 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/0.4745, allocations: 218.6 kB / 0.5428 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004868/0.4793, allocations: 2.795 MB / 0.5455 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.4794, allocations: 3.938 kB / 0.5455 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/0.4796, allocations: 80 kB / 0.5456 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/0.4797, allocations: 52 kB / 0.5456 GB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006067/0.4857, allocations: 3.788 MB / 0.5493 GB, free: 2.801 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.501, allocations: 8.309 MB / 0.5574 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006023/0.5071, allocations: 3.951 MB / 0.5613 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.5088, allocations: 1.018 MB / 0.5623 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01282/0.5216, allocations: 9.23 MB / 0.5713 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.5218, allocations: 43.88 kB / 0.5713 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006608/0.5224, allocations: 170.1 kB / 0.5715 GB, free: 10.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=138): time 7.113e-06/0.5224, allocations: 0 / 0.5715 GB, free: 10.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=170): time 0.02801/0.5505, allocations: 6.4 MB / 0.5778 GB, free: 4.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.5506, allocations: 69.41 kB / 0.5778 GB, free: 4.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/0.5527, allocations: 1.663 MB / 0.5794 GB, free: 2.508 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002658/0.553, allocations: 53.7 kB / 0.5795 GB, free: 2.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007437/0.5538, allocations: 1.039 MB / 0.5805 GB, free: 1.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006199/0.5544, allocations: 0.5972 MB / 0.5811 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006919/0.5551, allocations: 480.6 kB / 0.5816 GB, free: 344 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5552, allocations: 301.1 kB / 0.5818 GB, free: 40 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.5566, allocations: 0.7897 MB / 0.5826 GB, free: 15.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.5586, allocations: 1.603 MB / 0.5842 GB, free: 13.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/0.5619, allocations: 2.41 MB / 0.5865 GB, free: 10.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/0.5619, allocations: 11.94 kB / 0.5865 GB, free: 10.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008051/0.57, allocations: 3.127 MB / 0.5896 GB, free: 7.359 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.5701, allocations: 19.94 kB / 0.5896 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.476e-05/0.5701, allocations: 28 kB / 0.5896 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003434/0.5736, allocations: 483.1 kB / 0.5901 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.5759, allocations: 0.5961 MB / 0.5907 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.5867, allocations: 7.705 MB / 0.5982 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.5889, allocations: 80 kB / 0.5983 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/0.5892, allocations: 136 kB / 0.5984 GB, free: 13.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009139/0.5901, allocations: 428 kB / 0.5988 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/0.5906, allocations: 173.8 kB / 0.599 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007206/0.5978, allocations: 2.397 MB / 0.6013 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.5979, allocations: 20 kB / 0.6013 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.5979, allocations: 0 / 0.6013 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-05/0.598, allocations: 11.91 kB / 0.6014 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.6012, allocations: 1.86 MB / 0.6032 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.6012, allocations: 7.938 kB / 0.6032 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.6026, allocations: 347.8 kB / 0.6035 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003404/0.606, allocations: 450.9 kB / 0.6039 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/0.6063, allocations: 63.97 kB / 0.604 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009745/0.6161, allocations: 7.533 MB / 0.6114 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6161, allocations: 0 / 0.6114 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008026/0.6242, allocations: 2.999 MB / 0.6143 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/0.6248, allocations: 234.8 kB / 0.6145 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.6251, allocations: 40 kB / 0.6146 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008935/0.626, allocations: 39.98 kB / 0.6146 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/0.6263, allocations: 153.8 kB / 0.6147 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.6265, allocations: 71.97 kB / 0.6148 GB, free: 12.28 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001401/0.6279, allocations: 1.133 MB / 0.6159 GB, free: 11.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6279, allocations: 0 / 0.6159 GB, free: 11.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004431/0.6324, allocations: 1.366 MB / 0.6172 GB, free: 9.781 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003399/0.6358, allocations: 1.501 MB / 0.6187 GB, free: 8.457 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004467/0.6403, allocations: 2.497 MB / 0.6212 GB, free: 5.914 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6403, allocations: 0 / 0.6212 GB, free: 5.914 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002064/0.6424, allocations: 1.357 MB / 0.6225 GB, free: 4.508 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.6443, allocations: 366.7 kB / 0.6228 GB, free: 4.156 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.6504, allocations: 3.595 MB / 0.6263 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.6515, allocations: 1.389 MB / 0.6277 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.6526, allocations: 386.2 kB / 0.6281 GB, free: 14.71 MB / 494.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6526, allocations: 0 / 0.6281 GB, free: 14.71 MB / 494.1 MB Notification: Performance of Templates: time 0.08015/0.7328, allocations: 66.33 MB / 0.6928 GB, free: 12.43 MB / 0.545 GB make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile (rm -f Chemical_Chemical.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Examples.GasSolubility.sim & ./Chemical_Chemical.Examples.GasSolubility -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.GasSolubility.pipe 2>&1)