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/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,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/Chemical 1.4.0-master/package.mo): time 0.08335/0.08335, allocations: 15.29 MB / 31.09 MB, free: 3.113 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 202 kB / 36.14 MB, free: 2.145 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.441/1.441, allocations: 222.9 MB / 264 MB, free: 4.918 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.0009927/0.0009927, allocations: 98.11 kB / 318.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 50.38 kB / 382.7 MB, free: 48.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1094, allocations: 53.62 MB / 436.3 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01311/0.1225, allocations: 11.85 MB / 448.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03382/0.1564, allocations: 32.57 MB / 480.7 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.1589, allocations: 47.62 kB / 480.8 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001985/0.1609, allocations: 0.6329 MB / 481.4 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.1676, allocations: 2.228 MB / 483.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.1786, allocations: 3.757 MB / 487.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004288/0.1829, allocations: 2.892 MB / 490.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.1852, allocations: 1.446 MB / 491.7 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.1876, allocations: 1.426 MB / 493.2 MB, free: 7.914 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.19, allocations: 1.573 MB / 494.7 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008431/0.1909, allocations: 172 kB / 494.9 MB, free: 6.168 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.201, allocations: 3.443 MB / 498.4 MB, free: 2.719 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008107/0.2018, allocations: 0.5255 MB / 498.9 MB, free: 2.191 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.2038, allocations: 1.256 MB / 0.4884 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01541/0.2192, allocations: 6.096 MB / 0.4944 GB, free: 10.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2192, allocations: 0 / 0.4944 GB, free: 10.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2192, allocations: 0 / 0.4944 GB, free: 10.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001371/0.2194, allocations: 4 kB / 0.4944 GB, free: 10.81 MB / 378.7 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.008155/0.2276, allocations: 3.216 MB / 0.4975 GB, free: 7.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2276, allocations: 8.875 kB / 0.4975 GB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.2302, allocations: 0.575 MB / 0.4981 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.2321, allocations: 1.095 MB / 0.4992 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.2323, allocations: 156.6 kB / 0.4993 GB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.2326, allocations: 220.3 kB / 0.4995 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00393/0.2365, allocations: 2.787 MB / 0.5022 GB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.2366, allocations: 0 / 0.5022 GB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.2368, allocations: 91.94 kB / 0.5023 GB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.2368, allocations: 48 kB / 0.5024 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1881/0.4249, allocations: 3.782 MB / 0.5061 GB, free: 69.4 MB / 378.7 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.01316/0.4381, allocations: 8.324 MB / 0.5142 GB, free: 67.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005506/0.4436, allocations: 3.96 MB / 0.5181 GB, free: 66.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.4451, allocations: 1.018 MB / 0.5191 GB, free: 65.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.4567, allocations: 9.24 MB / 0.5281 GB, free: 58.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4568, allocations: 47.91 kB / 0.5281 GB, free: 58.76 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006014/0.4574, allocations: 165.2 kB / 0.5283 GB, free: 58.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=138): time 3.647e-06/0.4574, allocations: 0 / 0.5283 GB, free: 58.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=170): time 0.02675/0.4842, allocations: 6.392 MB / 0.5345 GB, free: 55.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.4842, allocations: 73.19 kB / 0.5346 GB, free: 55.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.4859, allocations: 1.661 MB / 0.5362 GB, free: 54.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.486, allocations: 53.64 kB / 0.5363 GB, free: 54.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.4864, allocations: 1.046 MB / 0.5373 GB, free: 53.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.4867, allocations: 0.5869 MB / 0.5379 GB, free: 52.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/0.4873, allocations: 474 kB / 0.5383 GB, free: 52.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.4873, allocations: 301.1 kB / 0.5386 GB, free: 52.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.4883, allocations: 0.7954 MB / 0.5394 GB, free: 51.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.4897, allocations: 1.602 MB / 0.5409 GB, free: 50.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.4921, allocations: 2.413 MB / 0.5433 GB, free: 48.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.4921, allocations: 7 kB / 0.5433 GB, free: 48.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006991/0.4991, allocations: 3.126 MB / 0.5464 GB, free: 47.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.4992, allocations: 21.53 kB / 0.5464 GB, free: 47.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.4992, allocations: 24.25 kB / 0.5464 GB, free: 47.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/0.5026, allocations: 499.4 kB / 0.5469 GB, free: 46.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.5044, allocations: 0.585 MB / 0.5474 GB, free: 46.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008157/0.5126, allocations: 6.951 MB / 0.5542 GB, free: 38.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.5146, allocations: 139.8 kB / 0.5544 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.5149, allocations: 151.6 kB / 0.5545 GB, free: 38.27 MB / 378.7 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.0006791/0.5156, allocations: 420.9 kB / 0.5549 GB, free: 37.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.5159, allocations: 165.8 kB / 0.5551 GB, free: 37.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0066/0.5225, allocations: 2.4 MB / 0.5574 GB, free: 35.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.5225, allocations: 20 kB / 0.5574 GB, free: 35.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5225, allocations: 0 / 0.5574 GB, free: 35.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.5225, allocations: 7.969 kB / 0.5574 GB, free: 35.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.5247, allocations: 1.869 MB / 0.5593 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.5247, allocations: 0 / 0.5593 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.5259, allocations: 347.5 kB / 0.5596 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003437/0.5293, allocations: 459 kB / 0.56 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.5295, allocations: 55.97 kB / 0.5601 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007187/0.5367, allocations: 6.779 MB / 0.5667 GB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5367, allocations: 8.062 kB / 0.5667 GB, free: 25.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03247/0.5692, allocations: 14.28 MB / 0.5807 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.5695, allocations: 234.9 kB / 0.5809 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.5697, allocations: 39.98 kB / 0.5809 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.5706, allocations: 71.83 kB / 0.581 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.5709, allocations: 141.8 kB / 0.5811 GB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.571, allocations: 75.97 kB / 0.5812 GB, free: 9.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001014/0.5721, allocations: 1.13 MB / 0.5823 GB, free: 8.719 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5721, allocations: 4 kB / 0.5823 GB, free: 8.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003806/0.5759, allocations: 1.588 MB / 0.5839 GB, free: 7.277 MB / 378.7 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.001997/0.5779, allocations: 1.464 MB / 0.5853 GB, free: 6.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003099/0.581, allocations: 2.484 MB / 0.5877 GB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.581, allocations: 4 kB / 0.5877 GB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.5825, allocations: 1.361 MB / 0.589 GB, free: 2.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.5839, allocations: 332.9 kB / 0.5894 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006314/0.5903, allocations: 5.688 MB / 0.5949 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000958/0.5912, allocations: 1.425 MB / 0.5963 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001907/0.5932, allocations: 466 kB / 0.5968 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/0.5938, allocations: 302.7 kB / 0.597 GB, free: 9.918 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5938, allocations: 0 / 0.597 GB, free: 9.918 MB / 394.7 MB Notification: Performance of Templates: time 0.06656/0.6604, allocations: 48.96 MB / 0.6449 GB, free: 9.113 MB / 442.7 MB 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)