Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.conf.json 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/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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.Hemoglobin.HemoglobinTitration,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration") translateModel(Chemical.Examples.Hemoglobin.HemoglobinTitration,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 110.5 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 189.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07296/0.07296, allocations: 15.31 MB / 306.5 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.11 kB / 425.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08074/0.08195, allocations: 53.62 MB / 479.5 MB, free: 5.734 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66: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.Hemoglobin.HemoglobinTitration): time 0.3769/0.4589, allocations: 41.7 MB / 0.509 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06682/0.5257, allocations: 72.72 MB / 0.58 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/0.529, allocations: 59.34 kB / 0.5801 GB, free: 5.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003829/0.5328, allocations: 1.622 MB / 0.5816 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01488/0.5477, allocations: 5.918 MB / 0.5874 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02357/0.5713, allocations: 10.23 MB / 0.5974 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02281/0.5942, allocations: 26.69 MB / 0.6235 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0225/0.6167, allocations: 21.97 MB / 0.6449 GB, free: 9.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02205/0.6388, allocations: 17.48 MB / 0.662 GB, free: 7.836 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03033/0.6691, allocations: 16.2 MB / 0.6778 GB, free: 7.594 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01168/0.6809, allocations: 3.098 MB / 0.6809 GB, free: 4.496 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0382/0.7191, allocations: 10.71 MB / 0.6913 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.01122/0.7303, allocations: 6.977 MB / 0.6981 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.01955/0.7499, allocations: 12.16 MB / 0.71 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2884/1.038, allocations: 42.22 MB / 0.7512 GB, free: 60 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.038, allocations: 0 / 0.7512 GB, free: 60 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/1.038, allocations: 1.203 kB / 0.7512 GB, free: 60 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001084/1.04, allocations: 2.625 kB / 0.7512 GB, free: 60 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3812 * Number of variables: 3812 Notification: Performance of Generate backend data structure: time 0.08484/1.124, allocations: 24.74 MB / 0.7754 GB, free: 52.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.124, allocations: 11.88 kB / 0.7754 GB, free: 52.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0246/1.149, allocations: 3.889 MB / 0.7792 GB, free: 51.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02554/1.175, allocations: 12.01 MB / 0.7909 GB, free: 48.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001636/1.176, allocations: 2.135 MB / 0.793 GB, free: 46.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009668/1.186, allocations: 1.535 MB / 0.7945 GB, free: 46.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07494/1.261, allocations: 34.8 MB / 0.8285 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005759/1.262, allocations: 11.5 kB / 0.8285 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008136/1.27, allocations: 0.5859 MB / 0.8291 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/1.27, allocations: 364 kB / 0.8294 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08183/1.352, allocations: 46.84 MB / 0.8752 GB, free: 15.43 MB / 0.5919 GB 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.5005/1.852, allocations: 127.8 MB / 1 GB, free: 215.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7911/2.643, allocations: 276 MB / 1.27 GB, free: 221.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03323/2.677, allocations: 19.81 MB / 1.289 GB, free: 218.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1174/2.794, allocations: 87.5 MB / 1.374 GB, free: 158 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/2.794, allocations: 136.9 kB / 1.374 GB, free: 157.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01622/2.81, allocations: 4.516 MB / 1.379 GB, free: 153.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=996): time 2.608e-05/2.81, allocations: 0 / 1.379 GB, free: 153.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1130): time 0.6989/3.509, allocations: 136.6 MB / 1.512 GB, free: 17.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/3.509, allocations: 168.2 kB / 1.512 GB, free: 17.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01526/3.525, allocations: 10.16 MB / 1.522 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.00397/3.529, allocations: 213.7 kB / 1.523 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003957/3.533, allocations: 6.897 MB / 1.529 GB, free: 212 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.232/3.765, allocations: 3.908 MB / 1.533 GB, free: 242 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009491/3.774, allocations: 3.266 MB / 1.536 GB, free: 241.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.657e-05/3.774, allocations: 301.7 kB / 1.537 GB, free: 241.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01773/3.792, allocations: 11.83 MB / 1.548 GB, free: 239.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0179/3.81, allocations: 16.55 MB / 1.564 GB, free: 229.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03791/3.848, allocations: 29.75 MB / 1.593 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/3.848, allocations: 42.25 kB / 1.593 GB, free: 213.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1891) (initialization): time 0.4632/4.311, allocations: 81.47 MB / 1.673 GB, free: 145 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/4.311, allocations: 68 kB / 1.673 GB, free: 144.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002378/4.312, allocations: 148 kB / 1.673 GB, free: 144.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05973/4.371, allocations: 22.37 MB / 1.695 GB, free: 122.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01709/4.389, allocations: 3.736 MB / 1.699 GB, free: 118.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4048/4.793, allocations: 93.93 MB / 1.79 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01782/4.811, allocations: 0.8441 MB / 1.791 GB, free: 209.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004111/4.815, allocations: 0.9294 MB / 1.792 GB, free: 209.9 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 677 * 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 (1843): * Single equations (assignments): 1840 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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%), (33,10,82.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.01174/4.827, allocations: 5.382 MB / 1.797 GB, free: 208.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003448/4.831, allocations: 1.057 MB / 1.798 GB, free: 208.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2617/5.092, allocations: 48.62 MB / 1.846 GB, free: 197 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003771/5.093, allocations: 64.38 kB / 1.846 GB, free: 197 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/5.093, allocations: 0 / 1.846 GB, free: 197 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008965/5.102, allocations: 3.293 MB / 1.849 GB, free: 196 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003851/5.106, allocations: 288.5 kB / 1.849 GB, free: 195.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01185/5.117, allocations: 0.5457 MB / 1.85 GB, free: 195.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0119/5.129, allocations: 3.606 MB / 1.853 GB, free: 195.4 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05594/5.185, allocations: 25.81 MB / 1.879 GB, free: 178.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05555/5.241, allocations: 38.12 MB / 1.916 GB, free: 140.4 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01601/5.257, allocations: 11.56 MB / 1.927 GB, free: 128.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01093/5.268, allocations: 6.966 MB / 1.934 GB, free: 121.9 MB / 0.6544 GB Notification: Performance of Backend: time 4.61e-07/5.268, allocations: 0 / 1.934 GB, free: 121.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.06993/5.338, allocations: 22.43 MB / 1.956 GB, free: 100.8 MB / 0.6544 GB Notification: Performance of SimCode: time 0.04605/5.384, allocations: 29.61 MB / 1.985 GB, free: 71.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.8291/6.213, allocations: 332.3 MB / 2.309 GB, free: 227.4 MB / 0.6544 GB make -j1 -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.makefile (rm -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.pipe ; mkfifo Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.pipe >> ../files/Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.sim & ./Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.Hemoglobin.HemoglobinTitration.pipe 2>&1)