Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.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.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.07893/0.07893, allocations: 15.28 MB / 30.53 MB, free: 3.203 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.001018/0.001018, allocations: 186.8 kB / 35.62 MB, free: 2.258 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.391/1.391, allocations: 225.7 MB / 266.3 MB, free: 6.164 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.0009176/0.0009176, allocations: 103.2 kB / 321.7 MB, free: 2.184 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.0003012, allocations: 8.422 kB / 387 MB, free: 50.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.08923, allocations: 54.64 MB / 441.7 MB, free: 14.84 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.Dev.RedCellMembrane): time 0.05148/0.1408, allocations: 47.61 MB / 489.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3387/0.4795, allocations: 150.7 MB / 0.625 GB, free: 12.61 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007676/0.4873, allocations: 142.9 kB / 0.6251 GB, free: 12.46 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007808/0.4951, allocations: 2.167 MB / 0.6272 GB, free: 10.3 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03375/0.5289, allocations: 8.528 MB / 0.6356 GB, free: 1.723 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04743/0.5764, allocations: 13.57 MB / 0.6488 GB, free: 4.07 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01669/0.5931, allocations: 10.07 MB / 0.6586 GB, free: 9.965 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008138/0.6013, allocations: 4.487 MB / 0.663 GB, free: 5.434 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009735/0.6111, allocations: 4.721 MB / 0.6676 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01027/0.6214, allocations: 5.466 MB / 0.673 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00351/0.6249, allocations: 476 kB / 0.6734 GB, free: 10.75 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3226/0.9475, allocations: 12.58 MB / 0.6857 GB, free: 58.59 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005187/0.9528, allocations: 1.702 MB / 0.6874 GB, free: 58.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01687/0.9697, allocations: 4.091 MB / 0.6914 GB, free: 58.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.07634/1.046, allocations: 22.1 MB / 0.7129 GB, free: 56.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.046, allocations: 0 / 0.7129 GB, free: 56.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.046, allocations: 0.9062 kB / 0.7129 GB, free: 56.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005341/1.047, allocations: 0 / 0.7129 GB, free: 56.82 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1818 * Number of variables: 1818 Notification: Performance of Generate backend data structure: time 0.02691/1.074, allocations: 8.54 MB / 0.7213 GB, free: 52.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.074, allocations: 13.09 kB / 0.7213 GB, free: 52.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/1.084, allocations: 1.909 MB / 0.7232 GB, free: 52.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/1.095, allocations: 3.288 MB / 0.7264 GB, free: 51.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00127/1.096, allocations: 0.5499 MB / 0.7269 GB, free: 51.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005324/1.102, allocations: 0.7347 MB / 0.7276 GB, free: 51.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/1.131, allocations: 9.124 MB / 0.7365 GB, free: 50.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005316/1.132, allocations: 6.938 kB / 0.7365 GB, free: 50.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003855/1.136, allocations: 287.7 kB / 0.7368 GB, free: 50.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002251/1.136, allocations: 174.8 kB / 0.737 GB, free: 50.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02802/1.164, allocations: 12.61 MB / 0.7493 GB, free: 46.53 MB / 490.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.07152/1.236, allocations: 29.8 MB / 0.7784 GB, free: 24.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03446/1.27, allocations: 20.36 MB / 0.7983 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008386/1.279, allocations: 4.687 MB / 0.8029 GB, free: 5.613 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06642/1.345, allocations: 35.7 MB / 0.8377 GB, free: 428 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.528e-05/1.345, allocations: 95.12 kB / 0.8378 GB, free: 320 kB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003912/1.349, allocations: 0.575 MB / 0.8384 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=581): time 2.129e-05/1.349, allocations: 0 / 0.8384 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=757): time 0.1248/1.474, allocations: 35.82 MB / 0.8734 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/1.474, allocations: 129.3 kB / 0.8735 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/1.479, allocations: 3.337 MB / 0.8767 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001596/1.481, allocations: 153.7 kB / 0.8769 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.2755/1.756, allocations: 3.144 MB / 0.88 GB, free: 227.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003356/1.76, allocations: 2.583 MB / 0.8825 GB, free: 226.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006699/1.76, allocations: 190.6 kB / 0.8827 GB, free: 226.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004721/1.761, allocations: 0.6508 MB / 0.8833 GB, free: 226.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005025/1.766, allocations: 2.825 MB / 0.8861 GB, free: 226.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007544/1.773, allocations: 5.702 MB / 0.8916 GB, free: 222.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01636/1.79, allocations: 9.333 MB / 0.9007 GB, free: 219 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/1.79, allocations: 27.12 kB / 0.9008 GB, free: 219 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03112/1.821, allocations: 10.67 MB / 0.9112 GB, free: 214.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002797/1.821, allocations: 43.19 kB / 0.9112 GB, free: 214.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00029/1.822, allocations: 94.97 kB / 0.9113 GB, free: 214.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009561/1.831, allocations: 1.852 MB / 0.9131 GB, free: 214.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/1.842, allocations: 2.32 MB / 0.9154 GB, free: 214.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/1.86, allocations: 11.8 MB / 0.9269 GB, free: 205 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008358/1.868, allocations: 473 kB / 0.9274 GB, free: 204.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002386/1.87, allocations: 0.516 MB / 0.9279 GB, free: 204.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * 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 (1143): * Single equations (assignments): 1137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,27), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.005885/1.876, allocations: 1.205 MB / 0.929 GB, free: 203.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00217/1.878, allocations: 0.5739 MB / 0.9296 GB, free: 203.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03307/1.912, allocations: 10.12 MB / 0.9395 GB, free: 199.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.968e-05/1.912, allocations: 80 kB / 0.9396 GB, free: 199.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.858e-05/1.912, allocations: 4 kB / 0.9396 GB, free: 199.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002737/1.912, allocations: 43.28 kB / 0.9396 GB, free: 199.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04701/1.959, allocations: 16.25 MB / 0.9555 GB, free: 184.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-05/1.959, allocations: 7.938 kB / 0.9555 GB, free: 184.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008477/1.968, allocations: 1.525 MB / 0.957 GB, free: 183.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008807/1.977, allocations: 1.668 MB / 0.9586 GB, free: 181.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002375/1.979, allocations: 266.5 kB / 0.9588 GB, free: 181.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/1.994, allocations: 11.08 MB / 0.9697 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.994, allocations: 12 kB / 0.9697 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03245/2.027, allocations: 12.89 MB / 0.9823 GB, free: 156.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004826/2.032, allocations: 1.262 MB / 0.9835 GB, free: 155.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002565/2.034, allocations: 148 kB / 0.9836 GB, free: 155 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005733/2.04, allocations: 295.4 kB / 0.9839 GB, free: 154.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002067/2.042, allocations: 0.5776 MB / 0.9845 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0015/2.043, allocations: 315.9 kB / 0.9848 GB, free: 153.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004032/2.048, allocations: 2 MB / 0.9867 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/2.048, allocations: 0 / 0.9867 GB, free: 151.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01902/2.067, allocations: 4.861 MB / 0.9915 GB, free: 147.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 34 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,HCO3.logn,H2O.logn,HCO3_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,albumin.logn,permeableUncharged.logn,permeableUncharged_E.logn,chargedImpermeable_E.logn,Lac_E.logn,Lac.logn,H_E.logn,H.logn,CO2.logn,CO2_E.logn,O2.logn,O2_E.logn,K.logn,Na.logn,Na_E.logn,K_E.logn,H2PO4_E.logn,ADP_E.logn,ATP_E.logn,HPO4_E.logn,globulins.logn,Ca.logn,Mg.logn,DPG.logn,GSH.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 (761): * Single equations (assignments): 755 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,33), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01738/2.084, allocations: 5.411 MB / 0.9968 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02072/2.105, allocations: 8.921 MB / 1.005 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.567e-06/2.105, allocations: 0 / 1.005 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009902/2.115, allocations: 4.859 MB / 1.01 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01204/2.127, allocations: 1.096 MB / 1.011 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02862/2.156, allocations: 16.1 MB / 1.027 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004259/2.16, allocations: 3.184 MB / 1.03 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01109/2.171, allocations: 1.672 MB / 1.032 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004138/2.175, allocations: 1.135 MB / 1.033 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.393e-06/2.175, allocations: 0 / 1.033 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.6981/2.873, allocations: 158.5 MB / 1.188 GB, free: 168.7 MB / 0.5574 GB make -j1 -f Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.makefile (rm -f Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1)