Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.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,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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1036/0.1036, allocations: 15.28 MB / 30.53 MB, free: 3.199 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.0009597/0.0009597, allocations: 194.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.412/1.412, allocations: 225.7 MB / 266.3 MB, free: 6.145 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.000813/0.000813, allocations: 95.67 kB / 321.7 MB, free: 2.188 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005053, allocations: 8.703 kB / 387 MB, free: 50.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1225, allocations: 54.66 MB / 441.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01035/0.1329, allocations: 10.62 MB / 452.3 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03927/0.1722, allocations: 40.65 MB / 492.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/0.1744, allocations: 47.62 kB / 493 MB, free: 8.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.1767, allocations: 0.6329 MB / 493.6 MB, free: 8.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008775/0.1855, allocations: 2.236 MB / 495.9 MB, free: 6.094 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0117/0.1972, allocations: 3.753 MB / 499.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004325/0.2016, allocations: 2.871 MB / 0.4907 GB, free: 15.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.2038, allocations: 1.364 MB / 0.492 GB, free: 14.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.2061, allocations: 1.289 MB / 0.4933 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.2087, allocations: 1.495 MB / 0.4948 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007245/0.2095, allocations: 140 kB / 0.4949 GB, free: 11.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/0.2202, allocations: 3.314 MB / 0.4981 GB, free: 7.777 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009731/0.2212, allocations: 490.2 kB / 0.4986 GB, free: 7.297 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.2234, allocations: 1.218 MB / 0.4998 GB, free: 6.066 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.2385, allocations: 6.029 MB / 0.5057 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2386, allocations: 0 / 0.5057 GB, free: 16 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.2386, allocations: 3.938 kB / 0.5057 GB, free: 12 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.2387, allocations: 4 kB / 0.5057 GB, free: 8 kB / 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.2332/0.4719, allocations: 2.668 MB / 0.5083 GB, free: 70.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.472, allocations: 12.94 kB / 0.5083 GB, free: 70.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/0.4744, allocations: 0.5625 MB / 0.5088 GB, free: 70.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.4764, allocations: 1.06 MB / 0.5099 GB, free: 70.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.4766, allocations: 160.5 kB / 0.51 GB, free: 70.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000435/0.477, allocations: 221.2 kB / 0.5102 GB, free: 70.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004877/0.4819, allocations: 2.771 MB / 0.5129 GB, free: 70.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.4819, allocations: 0 / 0.5129 GB, free: 70.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.4821, allocations: 90 kB / 0.513 GB, free: 70.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-05/0.4822, allocations: 50.88 kB / 0.5131 GB, free: 70.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006935/0.4891, allocations: 3.766 MB / 0.5168 GB, free: 70.02 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.01434/0.5035, allocations: 8.26 MB / 0.5248 GB, free: 65.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005817/0.5093, allocations: 3.942 MB / 0.5287 GB, free: 63.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.5109, allocations: 1.014 MB / 0.5297 GB, free: 63.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.5214, allocations: 9.023 MB / 0.5385 GB, free: 54.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.5215, allocations: 54.5 kB / 0.5385 GB, free: 54.9 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007476/0.5222, allocations: 162.5 kB / 0.5387 GB, free: 54.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=138): time 3.867e-06/0.5223, allocations: 0 / 0.5387 GB, free: 54.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=170): time 0.02833/0.5506, allocations: 6.475 MB / 0.545 GB, free: 50.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.5507, allocations: 69.41 kB / 0.5451 GB, free: 50.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.5524, allocations: 1.652 MB / 0.5467 GB, free: 48.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.5526, allocations: 53.7 kB / 0.5467 GB, free: 48.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.5531, allocations: 1.036 MB / 0.5477 GB, free: 47.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/0.5536, allocations: 0.5868 MB / 0.5483 GB, free: 47.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.946e-05/0.5537, allocations: 52 kB / 0.5484 GB, free: 47.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5539, allocations: 399 kB / 0.5488 GB, free: 46.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.555, allocations: 0.7858 MB / 0.5495 GB, free: 46.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.5564, allocations: 1.587 MB / 0.5511 GB, free: 44.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.5589, allocations: 2.393 MB / 0.5534 GB, free: 41.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.5589, allocations: 8 kB / 0.5534 GB, free: 41.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007552/0.5664, allocations: 3.138 MB / 0.5565 GB, free: 38.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.5665, allocations: 23.98 kB / 0.5565 GB, free: 38.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.5665, allocations: 24.88 kB / 0.5565 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003845/0.5704, allocations: 0.5108 MB / 0.557 GB, free: 37.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.5722, allocations: 0.5868 MB / 0.5576 GB, free: 37.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008984/0.5812, allocations: 7.001 MB / 0.5644 GB, free: 29.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.5839, allocations: 139.9 kB / 0.5646 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/0.5842, allocations: 140 kB / 0.5647 GB, free: 29.22 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.0008154/0.585, allocations: 420.9 kB / 0.5651 GB, free: 28.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.5853, allocations: 169.8 kB / 0.5653 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007256/0.5926, allocations: 2.43 MB / 0.5676 GB, free: 26.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.5926, allocations: 20 kB / 0.5677 GB, free: 26.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.5926, allocations: 0 / 0.5677 GB, free: 26.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.5927, allocations: 7.969 kB / 0.5677 GB, free: 26.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.5956, allocations: 1.866 MB / 0.5695 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.5956, allocations: 4 kB / 0.5695 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.5968, allocations: 343.6 kB / 0.5698 GB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003932/0.6007, allocations: 487.9 kB / 0.5703 GB, free: 23.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.6009, allocations: 63.97 kB / 0.5703 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007809/0.6087, allocations: 6.823 MB / 0.577 GB, free: 16.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6088, allocations: 4 kB / 0.577 GB, free: 16.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007696/0.6165, allocations: 3.013 MB / 0.58 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/0.6171, allocations: 246.9 kB / 0.5802 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.6174, allocations: 39.98 kB / 0.5802 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009566/0.6183, allocations: 59.83 kB / 0.5803 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/0.6187, allocations: 157.8 kB / 0.5804 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.6188, allocations: 71.97 kB / 0.5805 GB, free: 12.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001113/0.6199, allocations: 1.122 MB / 0.5816 GB, free: 11.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.62, allocations: 0 / 0.5816 GB, free: 11.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004334/0.6243, allocations: 1.315 MB / 0.5829 GB, free: 9.926 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.002758/0.6271, allocations: 1.463 MB / 0.5843 GB, free: 8.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003634/0.6307, allocations: 2.479 MB / 0.5867 GB, free: 6.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.6307, allocations: 5 kB / 0.5867 GB, free: 6.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.6324, allocations: 1.353 MB / 0.5881 GB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.6348, allocations: 342.9 kB / 0.5884 GB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.6404, allocations: 4.585 MB / 0.5929 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009182/0.6413, allocations: 1.382 MB / 0.5942 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001991/0.6433, allocations: 434.1 kB / 0.5946 GB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/0.6439, allocations: 290.7 kB / 0.5949 GB, free: 13.61 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6439, allocations: 0 / 0.5949 GB, free: 13.61 MB / 394.7 MB Notification: Performance of Templates: time 0.0685/0.7124, allocations: 43.57 MB / 0.6375 GB, free: 2.242 MB / 426.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)