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.001125/0.001125, allocations: 117.8 kB / 16.42 MB, free: 6.5 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.001185/0.001185, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07466/0.07466, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 425.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08186/0.08314, allocations: 53.62 MB / 479.5 MB, free: 5.879 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.3786/0.4618, allocations: 45 MB / 0.5122 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.08231/0.5441, allocations: 86.76 MB / 0.5969 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/0.5477, allocations: 70.69 kB / 0.597 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004793/0.5525, allocations: 1.92 MB / 0.5989 GB, free: 8.539 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01871/0.5713, allocations: 7.022 MB / 0.6057 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0294/0.6007, allocations: 12.19 MB / 0.6177 GB, free: 5.527 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03072/0.6314, allocations: 31.02 MB / 0.6479 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03017/0.6616, allocations: 26.31 MB / 0.6736 GB, free: 11.96 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02683/0.6885, allocations: 20.24 MB / 0.6934 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03092/0.7195, allocations: 18.88 MB / 0.7118 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0114/0.7309, allocations: 3.594 MB / 0.7153 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2621/0.993, allocations: 12.68 MB / 0.7277 GB, free: 54.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01144/1.005, allocations: 8.132 MB / 0.7357 GB, free: 54.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02201/1.027, allocations: 14.1 MB / 0.7494 GB, free: 52.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05893/1.086, allocations: 49.26 MB / 0.7975 GB, free: 41.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.086, allocations: 2.406 kB / 0.7975 GB, free: 41.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/1.086, allocations: 0 / 0.7975 GB, free: 41.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0008847/1.086, allocations: 0 / 0.7975 GB, free: 41.57 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.08399/1.17, allocations: 28.83 MB / 0.8257 GB, free: 21.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.171, allocations: 10.69 kB / 0.8257 GB, free: 21.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02728/1.198, allocations: 4.524 MB / 0.8301 GB, free: 17.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02734/1.225, allocations: 13.96 MB / 0.8438 GB, free: 4.004 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001612/1.227, allocations: 2.536 MB / 0.8462 GB, free: 1.203 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009616/1.236, allocations: 1.777 MB / 0.848 GB, free: 15.43 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09246/1.329, allocations: 40.44 MB / 0.8875 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006064/1.33, allocations: 11.03 kB / 0.8875 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007956/1.338, allocations: 0.6758 MB / 0.8881 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003462/1.338, allocations: 422.7 kB / 0.8885 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3197/1.658, allocations: 54.47 MB / 0.9417 GB, free: 213.3 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.2895/1.947, allocations: 148.7 MB / 1.087 GB, free: 124.4 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9944/2.942, allocations: 351.6 MB / 1.43 GB, free: 39.95 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03308/2.975, allocations: 23.07 MB / 1.453 GB, free: 16.85 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.381/3.356, allocations: 101.9 MB / 1.552 GB, free: 181 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/3.356, allocations: 155 kB / 1.553 GB, free: 180.9 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02237/3.378, allocations: 5.258 MB / 1.558 GB, free: 179.4 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=1160): time 4.163e-05/3.378, allocations: 0 / 1.558 GB, free: 179.4 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1312): time 0.9832/4.362, allocations: 149.6 MB / 1.704 GB, free: 199.3 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/4.362, allocations: 185.4 kB / 1.704 GB, free: 199.2 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/4.377, allocations: 11.97 MB / 1.716 GB, free: 195.9 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.004078/4.381, allocations: 241 kB / 1.716 GB, free: 195.8 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.004495/4.385, allocations: 8.037 MB / 1.724 GB, free: 191.4 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.006601/4.392, allocations: 4.545 MB / 1.728 GB, free: 187.9 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008658/4.401, allocations: 3.798 MB / 1.732 GB, free: 186.5 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/4.401, allocations: 304.9 kB / 1.732 GB, free: 186.2 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02079/4.422, allocations: 13.85 MB / 1.746 GB, free: 181.1 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02549/4.447, allocations: 19.33 MB / 1.765 GB, free: 169.3 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04931/4.496, allocations: 34.69 MB / 1.799 GB, free: 150.4 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002627/4.497, allocations: 46.41 kB / 1.799 GB, free: 150.4 MB / 0.6388 GB Notification: Performance of matching and sorting (n=2196) (initialization): time 0.5002/4.997, allocations: 93.16 MB / 1.89 GB, free: 62.61 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/4.997, allocations: 84.25 kB / 1.89 GB, free: 62.53 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002051/4.997, allocations: 168 kB / 1.89 GB, free: 62.37 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3169/5.314, allocations: 25.93 MB / 1.915 GB, free: 186.9 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0225/5.337, allocations: 4.331 MB / 1.919 GB, free: 186.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2087/5.545, allocations: 109 MB / 2.026 GB, free: 144.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02121/5.567, allocations: 0.986 MB / 2.027 GB, free: 143.6 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005405/5.572, allocations: 1.085 MB / 2.028 GB, free: 142.5 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.0148/5.587, allocations: 6.214 MB / 2.034 GB, free: 136.4 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005606/5.593, allocations: 1.227 MB / 2.035 GB, free: 135.8 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.323/5.916, allocations: 57.55 MB / 2.091 GB, free: 79.14 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004574/5.916, allocations: 71.72 kB / 2.091 GB, free: 79.07 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/5.916, allocations: 2.812 kB / 2.091 GB, free: 79.07 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01112/5.927, allocations: 3.866 MB / 2.095 GB, free: 75.86 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006249/5.934, allocations: 335.9 kB / 2.095 GB, free: 75.53 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0159/5.949, allocations: 0.6438 MB / 2.096 GB, free: 74.89 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0168/5.966, allocations: 4.254 MB / 2.1 GB, free: 70.62 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0744/6.041, allocations: 30.4 MB / 2.13 GB, free: 40.55 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3227/6.363, allocations: 45.03 MB / 2.174 GB, free: 179.8 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01792/6.381, allocations: 13.62 MB / 2.187 GB, free: 174.3 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01176/6.393, allocations: 8.225 MB / 2.195 GB, free: 171.5 MB / 0.6388 GB Notification: Performance of Backend: time 4.81e-07/6.393, allocations: 0 / 2.195 GB, free: 171.5 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.08093/6.474, allocations: 26.45 MB / 2.221 GB, free: 163.2 MB / 0.6388 GB Notification: Performance of SimCode: time 0.06082/6.535, allocations: 34.39 MB / 2.255 GB, free: 138.6 MB / 0.6388 GB Notification: Performance of Templates: time 0.9253/7.46, allocations: 392.7 MB / 2.638 GB, free: 190 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)