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/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 111.2 kB / 16.42 MB, free: 6.496 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.001509/0.001509, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.269/1.269, allocations: 222.9 MB / 241.1 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.07689/0.07689, allocations: 15.3 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 425.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.08771, allocations: 53.61 MB / 479.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.008085/0.09582, allocations: 6.968 MB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02309/0.1189, allocations: 21.76 MB / 0.4963 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007626/0.1197, allocations: 15.94 kB / 0.4963 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.1209, allocations: 448.7 kB / 0.4967 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.1248, allocations: 1.649 MB / 0.4983 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005839/0.1306, allocations: 2.799 MB / 0.5011 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.1327, allocations: 1.822 MB / 0.5028 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.1338, allocations: 0.9254 MB / 0.5037 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009756/0.1347, allocations: 0.8533 MB / 0.5046 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1853/0.32, allocations: 0.9416 MB / 0.5055 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004287/0.3205, allocations: 156 kB / 0.5057 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005798/0.3263, allocations: 2.31 MB / 0.5079 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000289/0.3266, allocations: 363.2 kB / 0.5083 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007156/0.3273, allocations: 0.788 MB / 0.509 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0057/0.333, allocations: 4.143 MB / 0.5131 GB, free: 7.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3331, allocations: 0 / 0.5131 GB, free: 7.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3331, allocations: 1.094 kB / 0.5131 GB, free: 7.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.3331, allocations: 0 / 0.5131 GB, free: 7.207 MB / 382.1 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.003378/0.3365, allocations: 2.075 MB / 0.5151 GB, free: 6.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3365, allocations: 8.25 kB / 0.5151 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.3381, allocations: 378.1 kB / 0.5155 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.3391, allocations: 0.7544 MB / 0.5162 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.3392, allocations: 91.5 kB / 0.5163 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.3394, allocations: 128.3 kB / 0.5164 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.342, allocations: 1.76 MB / 0.5181 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.342, allocations: 4.734 kB / 0.5181 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.3422, allocations: 53.22 kB / 0.5182 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.3422, allocations: 30.56 kB / 0.5182 GB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003262/0.3455, allocations: 2.484 MB / 0.5206 GB, free: 5.625 MB / 382.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.006962/0.3524, allocations: 5.082 MB / 0.5256 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.3555, allocations: 2.25 MB / 0.5278 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.3562, allocations: 0.5509 MB / 0.5283 GB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005924/0.3621, allocations: 5.301 MB / 0.5335 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.3622, allocations: 44.84 kB / 0.5336 GB, free: 13.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 2.285e-06/0.3622, allocations: 3.656 kB / 0.5336 GB, free: 13.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=89): time 0.01395/0.3761, allocations: 3.362 MB / 0.5368 GB, free: 12.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3762, allocations: 65.81 kB / 0.5369 GB, free: 12.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.3775, allocations: 1.298 MB / 0.5382 GB, free: 11.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.3776, allocations: 41.39 kB / 0.5382 GB, free: 11.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.378, allocations: 0.6801 MB / 0.5389 GB, free: 10.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.3783, allocations: 321.6 kB / 0.5392 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.3787, allocations: 291 kB / 0.5395 GB, free: 10.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3788, allocations: 357.7 kB / 0.5398 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/0.3796, allocations: 0.5122 MB / 0.5403 GB, free: 9.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3806, allocations: 1.001 MB / 0.5413 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.3823, allocations: 1.436 MB / 0.5427 GB, free: 7.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3823, allocations: 9.844 kB / 0.5427 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004484/0.3868, allocations: 1.908 MB / 0.5446 GB, free: 6.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3868, allocations: 11.28 kB / 0.5446 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3868, allocations: 16.09 kB / 0.5446 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/0.3888, allocations: 249.5 kB / 0.5448 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.3899, allocations: 349.1 kB / 0.5452 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005336/0.3953, allocations: 3.87 MB / 0.5489 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.3963, allocations: 51.98 kB / 0.549 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.3964, allocations: 79.98 kB / 0.5491 GB, free: 1.395 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005008/0.3969, allocations: 294.9 kB / 0.5493 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.3971, allocations: 103.6 kB / 0.5494 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.401, allocations: 1.242 MB / 0.5507 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.401, allocations: 11.92 kB / 0.5507 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.401, allocations: 0 / 0.5507 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.4012, allocations: 175.7 kB / 0.5508 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.4014, allocations: 18.34 kB / 0.5508 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.4019, allocations: 23.09 kB / 0.5509 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.4021, allocations: 72.89 kB / 0.5509 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002734/0.4048, allocations: 1.027 MB / 0.5519 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002051/0.4069, allocations: 1.387 MB / 0.5533 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005337/0.4074, allocations: 359.8 kB / 0.5536 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001012/0.4085, allocations: 0.914 MB / 0.5545 GB, free: 11.76 MB / 414.1 MB Notification: Performance of Backend: time 6.72e-07/0.4085, allocations: 4 kB / 0.5545 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005067/0.4135, allocations: 2.401 MB / 0.5569 GB, free: 9.535 MB / 414.1 MB Notification: Performance of SimCode: time 0.00317/0.4167, allocations: 2.511 MB / 0.5593 GB, free: 7.004 MB / 414.1 MB Notification: Performance of Templates: time 0.04807/0.4648, allocations: 33.3 MB / 0.5919 GB, free: 5.879 MB / 446.1 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)