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.001451/0.001452, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001051/0.001051, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07686/0.07686, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.08 kB / 425.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09364/0.09496, allocations: 53.61 MB / 479.5 MB, free: 5.77 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.4338/0.5288, allocations: 41.85 MB / 0.5091 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.07095/0.5998, allocations: 72.71 MB / 0.5802 GB, free: 4.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003587/0.6034, allocations: 59.06 kB / 0.5802 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.6081, allocations: 1.635 MB / 0.5818 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01691/0.625, allocations: 5.968 MB / 0.5876 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02589/0.6509, allocations: 10.29 MB / 0.5977 GB, free: 6.867 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0241/0.675, allocations: 26.71 MB / 0.6238 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02461/0.6997, allocations: 22.01 MB / 0.6453 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02427/0.724, allocations: 17.47 MB / 0.6623 GB, free: 7.531 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02669/0.7507, allocations: 16.2 MB / 0.6782 GB, free: 7.285 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01072/0.7615, allocations: 3.102 MB / 0.6812 GB, free: 4.184 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03504/0.7965, allocations: 10.69 MB / 0.6916 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.01177/0.8083, allocations: 6.984 MB / 0.6984 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.02229/0.8306, allocations: 12.16 MB / 0.7103 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3011/1.132, allocations: 42.33 MB / 0.7517 GB, free: 59.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.495e-06/1.132, allocations: 0 / 0.7517 GB, free: 59.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.695e-06/1.132, allocations: 3.703 kB / 0.7517 GB, free: 59.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001042/1.133, allocations: 0 / 0.7517 GB, free: 59.03 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.09142/1.224, allocations: 25.22 MB / 0.7763 GB, free: 51.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.224, allocations: 7.906 kB / 0.7763 GB, free: 51.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0265/1.251, allocations: 3.982 MB / 0.7802 GB, free: 49.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02993/1.281, allocations: 12.07 MB / 0.792 GB, free: 46.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001934/1.283, allocations: 2.134 MB / 0.794 GB, free: 45.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01157/1.294, allocations: 1.53 MB / 0.7955 GB, free: 45.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0868/1.381, allocations: 34.81 MB / 0.8295 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007604/1.382, allocations: 6.844 kB / 0.8295 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01023/1.392, allocations: 0.5898 MB / 0.8301 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000287/1.393, allocations: 360 kB / 0.8305 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0965/1.489, allocations: 46.84 MB / 0.8762 GB, free: 13.84 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.5414/2.03, allocations: 128 MB / 1.001 GB, free: 214.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7918/2.822, allocations: 276 MB / 1.271 GB, free: 217.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03599/2.858, allocations: 19.81 MB / 1.29 GB, free: 215 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1657/3.024, allocations: 87.56 MB / 1.376 GB, free: 155.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/3.024, allocations: 138.3 kB / 1.376 GB, free: 155.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01977/3.044, allocations: 4.547 MB / 1.38 GB, free: 151.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=996): time 4.485e-05/3.044, allocations: 2.656 kB / 1.38 GB, free: 151.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1130): time 0.6819/3.726, allocations: 136.8 MB / 1.514 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/3.726, allocations: 168.8 kB / 1.514 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02034/3.747, allocations: 10.17 MB / 1.524 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.004472/3.751, allocations: 217.6 kB / 1.524 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.2988/4.05, allocations: 7.098 MB / 1.531 GB, free: 242.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.01018/4.06, allocations: 4.111 MB / 1.535 GB, free: 241 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0135/4.074, allocations: 3.272 MB / 1.538 GB, free: 240.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/4.074, allocations: 304.8 kB / 1.538 GB, free: 240.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02503/4.099, allocations: 11.83 MB / 1.55 GB, free: 238.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02708/4.126, allocations: 16.56 MB / 1.566 GB, free: 228.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05024/4.176, allocations: 29.74 MB / 1.595 GB, free: 212.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002556/4.176, allocations: 43.41 kB / 1.595 GB, free: 212.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1891) (initialization): time 0.4194/4.596, allocations: 81.53 MB / 1.675 GB, free: 143.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/4.596, allocations: 68 kB / 1.675 GB, free: 143.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002291/4.596, allocations: 148 kB / 1.675 GB, free: 143 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05532/4.652, allocations: 22.37 MB / 1.697 GB, free: 120.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01656/4.668, allocations: 3.728 MB / 1.701 GB, free: 117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5083/5.177, allocations: 93.96 MB / 1.792 GB, free: 210.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02115/5.198, allocations: 0.8398 MB / 1.793 GB, free: 210 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006256/5.204, allocations: 0.9381 MB / 1.794 GB, free: 209.8 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.01893/5.223, allocations: 5.381 MB / 1.799 GB, free: 207.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007715/5.231, allocations: 1.109 MB / 1.8 GB, free: 207.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.27/5.501, allocations: 48.62 MB / 1.848 GB, free: 196.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004006/5.501, allocations: 57.56 kB / 1.848 GB, free: 196.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-05/5.501, allocations: 0 / 1.848 GB, free: 196.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00989/5.511, allocations: 3.353 MB / 1.851 GB, free: 195.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005393/5.517, allocations: 286.1 kB / 1.852 GB, free: 195 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01284/5.529, allocations: 0.5491 MB / 1.852 GB, free: 194.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01416/5.544, allocations: 3.613 MB / 1.856 GB, free: 193.6 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06712/5.611, allocations: 25.81 MB / 1.881 GB, free: 174.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06981/5.681, allocations: 38.19 MB / 1.918 GB, free: 136.7 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01745/5.698, allocations: 11.56 MB / 1.929 GB, free: 125.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01192/5.71, allocations: 6.972 MB / 1.936 GB, free: 118.2 MB / 0.6544 GB Notification: Performance of Backend: time 5.01e-07/5.71, allocations: 0 / 1.936 GB, free: 118.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.07576/5.786, allocations: 22.5 MB / 1.958 GB, free: 96.76 MB / 0.6544 GB Notification: Performance of SimCode: time 0.05936/5.845, allocations: 30.08 MB / 1.988 GB, free: 66.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.9483/6.794, allocations: 332.3 MB / 2.312 GB, free: 221.9 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)