Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_blood.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1161/0.1161, allocations: 15.28 MB / 30.53 MB, free: 3.195 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007863/0.0007863, allocations: 189.3 kB / 35.63 MB, free: 2.25 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.7 MB / 266.3 MB, free: 6.156 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 87.67 kB / 321.7 MB, free: 2.199 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 7.203 kB / 387 MB, free: 50.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09659, allocations: 54.65 MB / 441.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.006879/0.1035, allocations: 7.072 MB / 448.7 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02356/0.1271, allocations: 26.66 MB / 475.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.1282, allocations: 27.75 kB / 475.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1293, allocations: 417.7 kB / 475.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003797/0.1331, allocations: 1.428 MB / 477.3 MB, free: 9.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007326/0.1405, allocations: 2.451 MB / 479.7 MB, free: 7.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.1431, allocations: 1.732 MB / 481.4 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008411/0.1439, allocations: 0.7603 MB / 482.2 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.1448, allocations: 0.7516 MB / 483 MB, free: 3.887 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009654/0.1457, allocations: 0.8757 MB / 483.8 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.1459, allocations: 80 kB / 483.9 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007927/0.1538, allocations: 2.148 MB / 486.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.1542, allocations: 286.9 kB / 486.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008029/0.155, allocations: 0.7404 MB / 487.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008929/0.1639, allocations: 3.779 MB / 490.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.164, allocations: 4 kB / 490.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.164, allocations: 0 / 490.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.164, allocations: 0 / 490.9 MB, free: 11.95 MB / 362.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.003828/0.1679, allocations: 1.735 MB / 492.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.1679, allocations: 9.156 kB / 492.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.1697, allocations: 382.4 kB / 493 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.1708, allocations: 0.7171 MB / 493.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.468e-05/0.1708, allocations: 90.84 kB / 493.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.1711, allocations: 132.3 kB / 493.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.1736, allocations: 1.756 MB / 495.7 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.1736, allocations: 0 / 495.7 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.1737, allocations: 52 kB / 495.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.1737, allocations: 28 kB / 495.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003366/0.1771, allocations: 2.477 MB / 498.2 MB, free: 4.441 MB / 362.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.007774/0.1849, allocations: 5.045 MB / 0.4915 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.1882, allocations: 2.238 MB / 0.4937 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.189, allocations: 0.5459 MB / 0.4942 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006886/0.1959, allocations: 5.188 MB / 0.4993 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.196, allocations: 47.14 kB / 0.4993 GB, free: 6.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.094e-06/0.196, allocations: 0 / 0.4993 GB, free: 6.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.01485/0.2108, allocations: 3.41 MB / 0.5026 GB, free: 2.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.2109, allocations: 64.39 kB / 0.5027 GB, free: 2.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.2125, allocations: 1.28 MB / 0.5039 GB, free: 1.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.2125, allocations: 41.7 kB / 0.504 GB, free: 1.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000487/0.213, allocations: 0.6803 MB / 0.5046 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.2133, allocations: 323.5 kB / 0.505 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.2134, allocations: 28 kB / 0.505 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.2136, allocations: 418.7 kB / 0.5054 GB, free: 88 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2284/0.442, allocations: 0.5044 MB / 0.5059 GB, free: 71.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.4432, allocations: 0.9933 MB / 0.5068 GB, free: 70.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.4448, allocations: 1.423 MB / 0.5082 GB, free: 70.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.4448, allocations: 5.484 kB / 0.5082 GB, free: 70.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004713/0.4496, allocations: 1.903 MB / 0.5101 GB, free: 69.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.4496, allocations: 11.66 kB / 0.5101 GB, free: 69.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/0.4497, allocations: 15.78 kB / 0.5101 GB, free: 69.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002231/0.4519, allocations: 264.9 kB / 0.5104 GB, free: 69.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.4531, allocations: 353.7 kB / 0.5107 GB, free: 69.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005168/0.4583, allocations: 3.505 MB / 0.5141 GB, free: 67.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.4597, allocations: 91.86 kB / 0.5142 GB, free: 67.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.4599, allocations: 83.28 kB / 0.5143 GB, free: 67.14 MB / 378.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.0005626/0.4605, allocations: 288.7 kB / 0.5146 GB, free: 67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.4607, allocations: 105.2 kB / 0.5147 GB, free: 67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004483/0.4652, allocations: 1.266 MB / 0.5159 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/0.4653, allocations: 8.781 kB / 0.5159 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.4653, allocations: 3.875 kB / 0.5159 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.4653, allocations: 9.188 kB / 0.5159 GB, free: 66.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.4674, allocations: 1.101 MB / 0.517 GB, free: 66.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.4674, allocations: 5.281 kB / 0.517 GB, free: 66.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.4682, allocations: 179 kB / 0.5172 GB, free: 66.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/0.4704, allocations: 246.3 kB / 0.5174 GB, free: 66.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.497e-05/0.4705, allocations: 31.72 kB / 0.5175 GB, free: 66.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004722/0.4752, allocations: 3.415 MB / 0.5208 GB, free: 63.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4753, allocations: 10.38 kB / 0.5208 GB, free: 63.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/0.4797, allocations: 1.597 MB / 0.5224 GB, free: 63.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/0.4803, allocations: 191.2 kB / 0.5225 GB, free: 63.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.4804, allocations: 21.5 kB / 0.5226 GB, free: 63.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.481, allocations: 40.06 kB / 0.5226 GB, free: 63.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/0.4812, allocations: 74.72 kB / 0.5227 GB, free: 63.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.4813, allocations: 39.05 kB / 0.5227 GB, free: 63.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001183/0.4825, allocations: 0.903 MB / 0.5236 GB, free: 62.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4825, allocations: 0 / 0.5236 GB, free: 62.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002984/0.4855, allocations: 0.8157 MB / 0.5244 GB, free: 62.61 MB / 378.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.001914/0.4875, allocations: 0.9832 MB / 0.5253 GB, free: 62.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.4902, allocations: 1.402 MB / 0.5267 GB, free: 61.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4902, allocations: 5.406 kB / 0.5267 GB, free: 61.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.4913, allocations: 0.6787 MB / 0.5274 GB, free: 61.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.4927, allocations: 216.4 kB / 0.5276 GB, free: 61.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.4967, allocations: 2.713 MB / 0.5302 GB, free: 59.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.4975, allocations: 1.083 MB / 0.5313 GB, free: 58.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001207/0.4987, allocations: 268.6 kB / 0.5316 GB, free: 58.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.4991, allocations: 175.8 kB / 0.5317 GB, free: 58.78 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4991, allocations: 0 / 0.5317 GB, free: 58.78 MB / 378.7 MB Notification: Performance of Templates: time 0.03363/0.5327, allocations: 26.55 MB / 0.5577 GB, free: 37.91 MB / 378.7 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)