Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.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.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1365/0.1365, allocations: 15.28 MB / 30.53 MB, free: 3.074 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.001589/0.001588, allocations: 190.3 kB / 35.63 MB, free: 2.23 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.388/1.388, allocations: 225.7 MB / 266.3 MB, free: 6.125 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.0008265/0.0008267, allocations: 98.47 kB / 321.7 MB, free: 2.203 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002925, allocations: 9 kB / 387 MB, free: 50.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07647/0.07677, allocations: 54.64 MB / 441.7 MB, free: 14.85 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.CarbonDioxideInBlood): time 0.02958/0.1064, allocations: 30.79 MB / 472.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.2183/0.3247, allocations: 58.72 MB / 0.5187 GB, free: 25.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.3267, allocations: 66.16 kB / 0.5188 GB, free: 25.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.3288, allocations: 0.9152 MB / 0.5197 GB, free: 25.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008007/0.3369, allocations: 3.171 MB / 0.5228 GB, free: 25.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01326/0.3501, allocations: 5.584 MB / 0.5282 GB, free: 24.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004748/0.3549, allocations: 4.353 MB / 0.5325 GB, free: 23.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.3572, allocations: 2.201 MB / 0.5346 GB, free: 23.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.3596, allocations: 1.986 MB / 0.5366 GB, free: 23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.3623, allocations: 2.364 MB / 0.5389 GB, free: 22.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005212/0.3628, allocations: 227.9 kB / 0.5391 GB, free: 22.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/0.3766, allocations: 4.843 MB / 0.5438 GB, free: 21.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008131/0.3774, allocations: 0.7896 MB / 0.5446 GB, free: 21.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.3794, allocations: 1.827 MB / 0.5464 GB, free: 20.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01873/0.3981, allocations: 9.031 MB / 0.5552 GB, free: 16.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3981, allocations: 6.625 kB / 0.5552 GB, free: 16.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3982, allocations: 0 / 0.5552 GB, free: 16.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.934e-05/0.3982, allocations: 4 kB / 0.5552 GB, free: 16.7 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: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.006787/0.405, allocations: 3.901 MB / 0.559 GB, free: 13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.405, allocations: 9.156 kB / 0.559 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/0.4079, allocations: 0.8378 MB / 0.5599 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.4097, allocations: 1.55 MB / 0.5614 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.4098, allocations: 298.7 kB / 0.5617 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004369/0.4103, allocations: 329.9 kB / 0.562 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005407/0.4157, allocations: 4.454 MB / 0.5663 GB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/0.4158, allocations: 7.938 kB / 0.5663 GB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002831/0.4161, allocations: 128.5 kB / 0.5664 GB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.4161, allocations: 76 kB / 0.5665 GB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007049/0.4232, allocations: 6.091 MB / 0.5725 GB, free: 3.176 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.01998/0.4432, allocations: 13.88 MB / 0.586 GB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008451/0.4516, allocations: 6.297 MB / 0.5922 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003396/0.4551, allocations: 2.234 MB / 0.5944 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02022/0.4753, allocations: 14.53 MB / 0.6085 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.4754, allocations: 60.8 kB / 0.6086 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00153/0.4769, allocations: 369.5 kB / 0.6089 GB, free: 14.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 5.681e-06/0.4769, allocations: 3.938 kB / 0.609 GB, free: 14.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=387): time 0.08558/0.5625, allocations: 24.11 MB / 0.6325 GB, free: 6.637 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.5626, allocations: 90.45 kB / 0.6326 GB, free: 6.535 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.5648, allocations: 1.688 MB / 0.6342 GB, free: 4.801 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005359/0.5653, allocations: 89.7 kB / 0.6343 GB, free: 4.707 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000863/0.5662, allocations: 1.305 MB / 0.6356 GB, free: 3.395 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001285/0.5675, allocations: 1.306 MB / 0.6369 GB, free: 2.098 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.5678, allocations: 84 kB / 0.6369 GB, free: 2.016 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.568, allocations: 467.1 kB / 0.6374 GB, free: 1.551 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/0.571, allocations: 1.804 MB / 0.6392 GB, free: 15.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00349/0.5745, allocations: 2.807 MB / 0.6419 GB, free: 12.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007176/0.5817, allocations: 4.885 MB / 0.6467 GB, free: 7.195 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/0.5817, allocations: 8 kB / 0.6467 GB, free: 7.188 MB / 458.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01857/0.6003, allocations: 6.808 MB / 0.6533 GB, free: 340 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.6004, allocations: 16 kB / 0.6533 GB, free: 324 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.684e-05/0.6004, allocations: 32 kB / 0.6534 GB, free: 292 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01136/0.6118, allocations: 2.315 MB / 0.6556 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/0.6156, allocations: 0.8893 MB / 0.6565 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02482/0.6405, allocations: 17.08 MB / 0.6732 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003349/0.6438, allocations: 215.6 kB / 0.6734 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005526/0.6444, allocations: 235.9 kB / 0.6736 GB, free: 10.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001305/0.6457, allocations: 0.5983 MB / 0.6742 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/0.6462, allocations: 268.6 kB / 0.6744 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/0.6638, allocations: 6.601 MB / 0.6809 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-05/0.6639, allocations: 44 kB / 0.6809 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/0.6639, allocations: 8 kB / 0.6809 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-05/0.664, allocations: 19.92 kB / 0.681 GB, free: 3.008 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1962/0.8602, allocations: 10.62 MB / 0.6913 GB, free: 158.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.034e-05/0.8603, allocations: 7.531 kB / 0.6913 GB, free: 158.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/0.8635, allocations: 0.6517 MB / 0.692 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01047/0.874, allocations: 2.09 MB / 0.694 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008206/0.8749, allocations: 133.7 kB / 0.6941 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/0.8954, allocations: 15.72 MB / 0.7095 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-06/0.8955, allocations: 9.594 kB / 0.7095 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/0.9148, allocations: 8.461 MB / 0.7178 GB, free: 144.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/0.9165, allocations: 0.6927 MB / 0.7184 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004394/0.9169, allocations: 81.89 kB / 0.7185 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/0.9189, allocations: 151.9 kB / 0.7187 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007637/0.9197, allocations: 342.3 kB / 0.719 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002826/0.92, allocations: 159.7 kB / 0.7191 GB, free: 144.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001194/0.9212, allocations: 1.1 MB / 0.7202 GB, free: 143.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9212, allocations: 0 / 0.7202 GB, free: 143.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005767/0.927, allocations: 2.115 MB / 0.7223 GB, free: 143.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.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 (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003876/0.9309, allocations: 2.152 MB / 0.7244 GB, free: 143.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009319/0.9402, allocations: 5.853 MB / 0.7301 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.9403, allocations: 0 / 0.7301 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005401/0.9457, allocations: 3.514 MB / 0.7335 GB, free: 139 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.9493, allocations: 0.5112 MB / 0.734 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.9596, allocations: 8.298 MB / 0.7421 GB, free: 132.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.9608, allocations: 1.878 MB / 0.744 GB, free: 130.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003093/0.9639, allocations: 0.6766 MB / 0.7446 GB, free: 130.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.965, allocations: 454.8 kB / 0.7451 GB, free: 130 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/0.965, allocations: 0 / 0.7451 GB, free: 130 MB / 490.7 MB Notification: Performance of Templates: time 0.09519/1.06, allocations: 80.27 MB / 0.8235 GB, free: 50.29 MB / 490.7 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.makefile (rm -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.sim & ./Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1)