Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO.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.HemoglobinMultipleAllosteryCO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO") translateModel(Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 106.6 kB / 16.41 MB, free: 6.512 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.001187/0.001187, allocations: 192.3 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.326/1.326, allocations: 222.9 MB / 241.1 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.07786/0.07786, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 425.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1085, allocations: 53.62 MB / 479.5 MB, free: 5.746 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.HemoglobinMultipleAllosteryCO): time 0.4368/0.5454, allocations: 45.08 MB / 0.5123 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.08796/0.6334, allocations: 86.75 MB / 0.597 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004936/0.6384, allocations: 69.91 kB / 0.5971 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005688/0.6441, allocations: 1.938 MB / 0.599 GB, free: 8.602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02396/0.6681, allocations: 7.075 MB / 0.6059 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03301/0.7011, allocations: 12.27 MB / 0.6179 GB, free: 5.191 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03583/0.737, allocations: 31.03 MB / 0.6482 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03174/0.7687, allocations: 26.31 MB / 0.6739 GB, free: 11.61 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02995/0.7987, allocations: 20.23 MB / 0.6936 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03229/0.831, allocations: 18.89 MB / 0.7121 GB, free: 4.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01232/0.8434, allocations: 3.594 MB / 0.7156 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.36/1.203, allocations: 12.67 MB / 0.728 GB, free: 53.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01422/1.218, allocations: 8.124 MB / 0.7359 GB, free: 53.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02844/1.246, allocations: 14.1 MB / 0.7497 GB, free: 52.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06718/1.313, allocations: 49.27 MB / 0.7978 GB, free: 41.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.313, allocations: 0 / 0.7978 GB, free: 41.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.684e-06/1.313, allocations: 2.656 kB / 0.7978 GB, free: 41.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001183/1.315, allocations: 1.969 kB / 0.7978 GB, free: 41.29 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: 4405 * Number of variables: 4405 Notification: Performance of Generate backend data structure: time 0.09331/1.408, allocations: 28.82 MB / 0.8259 GB, free: 21.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.408, allocations: 8.031 kB / 0.8259 GB, free: 21.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0289/1.437, allocations: 4.524 MB / 0.8303 GB, free: 16.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0305/1.467, allocations: 13.96 MB / 0.844 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001795/1.469, allocations: 2.539 MB / 0.8465 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009951/1.479, allocations: 1.773 MB / 0.8482 GB, free: 14.99 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09974/1.579, allocations: 40.44 MB / 0.8877 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005314/1.579, allocations: 15.39 kB / 0.8877 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007896/1.587, allocations: 0.6797 MB / 0.8884 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003638/1.588, allocations: 416 kB / 0.8888 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3527/1.94, allocations: 54.47 MB / 0.9419 GB, free: 213.6 MB / 0.6388 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.3053/2.246, allocations: 148.7 MB / 1.087 GB, free: 124.4 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 1.036/3.282, allocations: 351.6 MB / 1.431 GB, free: 40.41 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03435/3.316, allocations: 23.07 MB / 1.453 GB, free: 17.3 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3992/3.716, allocations: 102 MB / 1.553 GB, free: 181.4 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.997e-05/3.716, allocations: 153.9 kB / 1.553 GB, free: 181.3 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0222/3.738, allocations: 5.256 MB / 1.558 GB, free: 179.8 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=1160): time 4.347e-05/3.738, allocations: 2.625 kB / 1.558 GB, free: 179.8 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1312): time 1.044/4.782, allocations: 149.6 MB / 1.704 GB, free: 199.7 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/4.782, allocations: 187.8 kB / 1.704 GB, free: 199.6 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01576/4.798, allocations: 11.97 MB / 1.716 GB, free: 196.5 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.004686/4.802, allocations: 246.2 kB / 1.716 GB, free: 196.3 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.00453/4.807, allocations: 8.04 MB / 1.724 GB, free: 192 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.006495/4.813, allocations: 4.537 MB / 1.728 GB, free: 188.5 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006801/4.82, allocations: 3.799 MB / 1.732 GB, free: 187.1 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 3.973e-05/4.82, allocations: 305.1 kB / 1.732 GB, free: 186.8 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02253/4.843, allocations: 13.85 MB / 1.746 GB, free: 181.7 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02733/4.87, allocations: 19.33 MB / 1.765 GB, free: 169.9 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0503/4.92, allocations: 34.7 MB / 1.799 GB, free: 151 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001934/4.921, allocations: 51.97 kB / 1.799 GB, free: 151 MB / 0.6388 GB Notification: Performance of matching and sorting (n=2196) (initialization): time 0.5119/5.433, allocations: 93.16 MB / 1.89 GB, free: 63.23 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/5.433, allocations: 80 kB / 1.89 GB, free: 63.15 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000259/5.433, allocations: 168 kB / 1.89 GB, free: 62.99 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.305/5.738, allocations: 25.93 MB / 1.915 GB, free: 187.2 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02145/5.76, allocations: 4.337 MB / 1.92 GB, free: 187.2 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2069/5.966, allocations: 109 MB / 2.026 GB, free: 144.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02094/5.987, allocations: 0.9821 MB / 2.027 GB, free: 143.9 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005119/5.993, allocations: 1.093 MB / 2.028 GB, free: 142.8 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 782 * 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 (2138): * Single equations (assignments): 2135 * 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%), (41,12,73.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.01563/6.008, allocations: 6.212 MB / 2.034 GB, free: 136.7 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006131/6.014, allocations: 1.227 MB / 2.035 GB, free: 136.1 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3327/6.347, allocations: 57.54 MB / 2.091 GB, free: 79.43 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004957/6.348, allocations: 71.72 kB / 2.092 GB, free: 79.36 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.174e-05/6.348, allocations: 0 / 2.092 GB, free: 79.36 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01196/6.36, allocations: 3.869 MB / 2.095 GB, free: 76.15 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006623/6.366, allocations: 342.5 kB / 2.096 GB, free: 75.82 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01562/6.382, allocations: 0.6398 MB / 2.096 GB, free: 75.18 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01751/6.4, allocations: 4.26 MB / 2.1 GB, free: 70.91 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07455/6.474, allocations: 30.39 MB / 2.13 GB, free: 40.84 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.333/6.807, allocations: 45.02 MB / 2.174 GB, free: 180.3 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01766/6.825, allocations: 13.61 MB / 2.187 GB, free: 174.8 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01218/6.837, allocations: 8.235 MB / 2.195 GB, free: 172 MB / 0.6388 GB Notification: Performance of Backend: time 5.61e-07/6.837, allocations: 2.719 kB / 2.195 GB, free: 172 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.07253/6.91, allocations: 26.44 MB / 2.221 GB, free: 163.8 MB / 0.6388 GB Notification: Performance of SimCode: time 0.05205/6.962, allocations: 34.4 MB / 2.255 GB, free: 138.8 MB / 0.6388 GB Notification: Performance of Templates: time 0.9632/7.925, allocations: 392.7 MB / 2.638 GB, free: 195 MB / 0.6388 GB make -j1 -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO.makefile (rm -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO.pipe ; mkfifo Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO.pipe >> ../files/Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO.sim & ./Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllosteryCO.pipe 2>&1)