Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) 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) Running command: translateModel(Physiolibrary.Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood") translateModel(Physiolibrary.Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 239.7 MB, free: 11 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.0009848/0.0009847, allocations: 96.11 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3212/0.3212, allocations: 36.67 MB / 376.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 446.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1071, allocations: 58.93 MB / 0.4935 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.GasSolubility_blood): time 0.2275/0.3347, allocations: 7.975 MB / 0.5013 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02133/0.356, allocations: 21.59 MB / 0.5223 GB, free: 22.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.3579, allocations: 31.59 kB / 0.5224 GB, free: 22.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.3595, allocations: 423.1 kB / 0.5228 GB, free: 22.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.3644, allocations: 1.421 MB / 0.5242 GB, free: 21.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007902/0.3723, allocations: 2.457 MB / 0.5266 GB, free: 20.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002532/0.3749, allocations: 1.753 MB / 0.5283 GB, free: 19.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.3761, allocations: 0.7785 MB / 0.529 GB, free: 19.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.3774, allocations: 0.834 MB / 0.5299 GB, free: 18.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.3788, allocations: 0.9204 MB / 0.5308 GB, free: 18.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003564/0.3792, allocations: 97.22 kB / 0.5308 GB, free: 18.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007414/0.3866, allocations: 2.224 MB / 0.533 GB, free: 18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004636/0.3871, allocations: 310.9 kB / 0.5333 GB, free: 17.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.3882, allocations: 0.743 MB / 0.534 GB, free: 17.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.3984, allocations: 3.925 MB / 0.5379 GB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3985, allocations: 4 kB / 0.5379 GB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3985, allocations: 3.938 kB / 0.5379 GB, free: 15.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.809e-05/0.3985, allocations: 0 / 0.5379 GB, free: 15.79 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004141/0.4027, allocations: 2.055 MB / 0.5399 GB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4027, allocations: 13.59 kB / 0.5399 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.4044, allocations: 373.8 kB / 0.5403 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.4057, allocations: 0.7485 MB / 0.541 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/0.4058, allocations: 93.97 kB / 0.5411 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.406, allocations: 124.8 kB / 0.5412 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.4086, allocations: 1.76 MB / 0.5429 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.4086, allocations: 3.938 kB / 0.5429 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.4087, allocations: 51.19 kB / 0.543 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.4088, allocations: 30.62 kB / 0.543 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/0.4123, allocations: 2.474 MB / 0.5454 GB, free: 12.3 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.009213/0.4216, allocations: 5.124 MB / 0.5504 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003556/0.4251, allocations: 2.24 MB / 0.5526 GB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008389/0.426, allocations: 0.5483 MB / 0.5531 GB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006909/0.4329, allocations: 5.344 MB / 0.5584 GB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.433, allocations: 40.19 kB / 0.5584 GB, free: 3.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.344e-06/0.433, allocations: 0 / 0.5584 GB, free: 3.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.01429/0.4473, allocations: 3.371 MB / 0.5617 GB, free: 2.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.4473, allocations: 61.31 kB / 0.5617 GB, free: 2.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.4488, allocations: 1.3 MB / 0.563 GB, free: 1.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.4489, allocations: 40.45 kB / 0.5631 GB, free: 1.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.4492, allocations: 0.6827 MB / 0.5637 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.4494, allocations: 316.7 kB / 0.564 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.4498, allocations: 301.3 kB / 0.5643 GB, free: 392 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.4499, allocations: 362.2 kB / 0.5647 GB, free: 36 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008304/0.4508, allocations: 0.5052 MB / 0.5651 GB, free: 15.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.4519, allocations: 1 MB / 0.5661 GB, free: 14.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.4537, allocations: 1.433 MB / 0.5675 GB, free: 13.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.4537, allocations: 8 kB / 0.5675 GB, free: 13.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00465/0.4584, allocations: 1.9 MB / 0.5694 GB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.4584, allocations: 16.09 kB / 0.5694 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.4584, allocations: 16.62 kB / 0.5694 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.4604, allocations: 241.5 kB / 0.5697 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.4615, allocations: 362.1 kB / 0.57 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00529/0.4668, allocations: 3.488 MB / 0.5734 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.468, allocations: 82.5 kB / 0.5735 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.4683, allocations: 76.77 kB / 0.5736 GB, free: 6.699 MB / 394.7 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.0006127/0.4689, allocations: 314.2 kB / 0.5739 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002916/0.4692, allocations: 102.7 kB / 0.574 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.4733, allocations: 1.252 MB / 0.5752 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-06/0.4733, allocations: 8 kB / 0.5752 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4733, allocations: 4 kB / 0.5752 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.4733, allocations: 3.984 kB / 0.5752 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.4754, allocations: 1.11 MB / 0.5763 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.4754, allocations: 3.984 kB / 0.5763 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/0.4761, allocations: 175.8 kB / 0.5764 GB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/0.478, allocations: 233.6 kB / 0.5767 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.4781, allocations: 31.11 kB / 0.5767 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004953/0.4831, allocations: 3.392 MB / 0.58 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4831, allocations: 0 / 0.58 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02092/0.504, allocations: 7.891 MB / 0.5877 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.5044, allocations: 175.8 kB / 0.5879 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.5046, allocations: 16 kB / 0.5879 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006744/0.5053, allocations: 39.98 kB / 0.5879 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.5055, allocations: 76.84 kB / 0.588 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.5056, allocations: 35.98 kB / 0.588 GB, free: 7.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.5067, allocations: 0.914 MB / 0.5889 GB, free: 6.254 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5067, allocations: 0 / 0.5889 GB, free: 6.254 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002959/0.5097, allocations: 0.9681 MB / 0.5899 GB, free: 5.285 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * 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 Backend phase and start with SimCode phase: time 0.002134/0.5118, allocations: 1.004 MB / 0.5909 GB, free: 4.281 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00238/0.5142, allocations: 1.411 MB / 0.5922 GB, free: 2.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5143, allocations: 0.875 kB / 0.5922 GB, free: 2.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.5153, allocations: 0.6866 MB / 0.5929 GB, free: 2.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.5165, allocations: 214.2 kB / 0.5931 GB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.5211, allocations: 3.285 MB / 0.5963 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/0.5218, allocations: 1.115 MB / 0.5974 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001232/0.5231, allocations: 273.5 kB / 0.5977 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/0.5235, allocations: 175.1 kB / 0.5978 GB, free: 13.01 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5235, allocations: 4 kB / 0.5978 GB, free: 13 MB / 426.7 MB Notification: Performance of Templates: time 0.0438/0.5673, allocations: 29.89 MB / 0.627 GB, free: 15.25 MB / 458.7 MB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood.makefile (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.GasSolubility_blood.pipe 2>&1)