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.001577/0.001577, allocations: 103.9 kB / 16.41 MB, free: 6.5 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.001761/0.001761, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08773/0.08773, allocations: 15.3 MB / 306.5 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 55.91 kB / 425.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1069, allocations: 53.62 MB / 479.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01165/0.1186, allocations: 10.3 MB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2871/0.4058, allocations: 32.87 MB / 0.5104 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.4077, allocations: 26.41 kB / 0.5104 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.4098, allocations: 0.6939 MB / 0.5111 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00822/0.4181, allocations: 2.621 MB / 0.5136 GB, free: 3.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01231/0.4304, allocations: 4.279 MB / 0.5178 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005614/0.4361, allocations: 3.013 MB / 0.5208 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002968/0.4391, allocations: 1.662 MB / 0.5224 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002619/0.4417, allocations: 1.457 MB / 0.5238 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.4447, allocations: 1.611 MB / 0.5254 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006347/0.4454, allocations: 265.9 kB / 0.5256 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/0.4603, allocations: 3.609 MB / 0.5292 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.4616, allocations: 0.6064 MB / 0.5298 GB, free: 216 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002611/0.4642, allocations: 1.327 MB / 0.5311 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01989/0.4841, allocations: 6.628 MB / 0.5375 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4842, allocations: 0 / 0.5375 GB, free: 12.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4842, allocations: 0 / 0.5375 GB, free: 12.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.385e-05/0.4843, allocations: 0 / 0.5375 GB, free: 12.52 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.007334/0.4916, allocations: 3.234 MB / 0.5407 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4917, allocations: 11.28 kB / 0.5407 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00261/0.4943, allocations: 0.5618 MB / 0.5412 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.4964, allocations: 1.132 MB / 0.5424 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.4965, allocations: 163.8 kB / 0.5425 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003265/0.4969, allocations: 219.7 kB / 0.5427 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004662/0.5016, allocations: 2.787 MB / 0.5454 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.5016, allocations: 11.94 kB / 0.5455 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/0.5018, allocations: 80 kB / 0.5455 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.5019, allocations: 52 kB / 0.5456 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005559/0.5075, allocations: 3.78 MB / 0.5493 GB, free: 2.867 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.01465/0.5221, allocations: 8.31 MB / 0.5574 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006423/0.5286, allocations: 3.958 MB / 0.5612 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.5304, allocations: 1.018 MB / 0.5622 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/0.5448, allocations: 9.216 MB / 0.5712 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.5449, allocations: 47.88 kB / 0.5713 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000802/0.5457, allocations: 162.1 kB / 0.5714 GB, free: 10.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=138): time 1.046e-05/0.5457, allocations: 3.984 kB / 0.5714 GB, free: 10.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=170): time 0.02983/0.5756, allocations: 6.411 MB / 0.5777 GB, free: 4.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.5757, allocations: 73.41 kB / 0.5778 GB, free: 4.246 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/0.5783, allocations: 1.66 MB / 0.5794 GB, free: 2.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003348/0.5786, allocations: 53.7 kB / 0.5794 GB, free: 2.516 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007714/0.5794, allocations: 1.04 MB / 0.5805 GB, free: 1.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007506/0.5802, allocations: 0.5896 MB / 0.581 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009443/0.5811, allocations: 480.5 kB / 0.5815 GB, free: 416 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.5812, allocations: 305.1 kB / 0.5818 GB, free: 108 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.5827, allocations: 0.7907 MB / 0.5826 GB, free: 15.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.5847, allocations: 1.599 MB / 0.5841 GB, free: 13.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003582/0.5883, allocations: 2.413 MB / 0.5865 GB, free: 10.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.219e-05/0.5884, allocations: 11.94 kB / 0.5865 GB, free: 10.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008777/0.5972, allocations: 3.126 MB / 0.5895 GB, free: 7.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.5972, allocations: 16 kB / 0.5896 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.715e-05/0.5973, allocations: 24 kB / 0.5896 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/0.601, allocations: 488 kB / 0.59 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.6031, allocations: 0.585 MB / 0.5906 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.614, allocations: 7.717 MB / 0.5982 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.6162, allocations: 80 kB / 0.5982 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004843/0.6167, allocations: 140 kB / 0.5984 GB, free: 13.84 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.001235/0.6179, allocations: 423.9 kB / 0.5988 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/0.6186, allocations: 173.8 kB / 0.5989 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007956/0.6266, allocations: 2.397 MB / 0.6013 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.6266, allocations: 23.94 kB / 0.6013 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.6266, allocations: 4 kB / 0.6013 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/0.6267, allocations: 7.969 kB / 0.6013 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/0.6301, allocations: 1.86 MB / 0.6031 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/0.6301, allocations: 4 kB / 0.6031 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.6315, allocations: 343.6 kB / 0.6035 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003644/0.6351, allocations: 461.8 kB / 0.6039 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/0.6354, allocations: 63.97 kB / 0.604 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00998/0.6454, allocations: 7.523 MB / 0.6113 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.6455, allocations: 4.031 kB / 0.6113 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008542/0.654, allocations: 2.996 MB / 0.6142 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/0.6547, allocations: 242.9 kB / 0.6145 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005164/0.6552, allocations: 36 kB / 0.6145 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.6565, allocations: 44 kB / 0.6145 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003828/0.6569, allocations: 149.8 kB / 0.6147 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/0.6571, allocations: 75.97 kB / 0.6148 GB, free: 12.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001655/0.6587, allocations: 1.133 MB / 0.6159 GB, free: 11.22 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6587, allocations: 0 / 0.6159 GB, free: 11.22 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005054/0.6638, allocations: 1.362 MB / 0.6172 GB, free: 9.859 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.004079/0.6679, allocations: 1.497 MB / 0.6187 GB, free: 8.535 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004836/0.6728, allocations: 2.5 MB / 0.6211 GB, free: 5.992 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.6728, allocations: 3.938 kB / 0.6211 GB, free: 5.988 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.6751, allocations: 1.358 MB / 0.6224 GB, free: 4.578 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.6775, allocations: 361.5 kB / 0.6228 GB, free: 4.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006999/0.6845, allocations: 3.603 MB / 0.6263 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.6859, allocations: 1.386 MB / 0.6276 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.6871, allocations: 386.2 kB / 0.628 GB, free: 14.78 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6871, allocations: 0 / 0.628 GB, free: 14.78 MB / 494.1 MB Notification: Performance of Templates: time 0.08033/0.7675, allocations: 66.33 MB / 0.6928 GB, free: 12.51 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)